7. Card List

You can use this service to list the cards stored with APM providers.

Card List

GET {{Base Adres}}/api/paywall/apm/cards

Important: To use the APM Card List service, you must include the apikeypublic and apiclientpublic parameters in the Header section. PaymentAPI Address

The header parameters that must be sent to the service are as follows:

Parameter
Type
Compulsory
Açıklama

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

The (BODY) parameters that must be sent to the service are as follows:

Parameter
Type
Compulsory
Description

currencyid

string

Yes

This is the UniqueCode parameter related to the APM payment. It is included in the response returned by the API at the time of creation.

apmconnectionid

int

Yes/No

This is the connection ID number of the APM provider in your account.

providerkey

string

Yes/No

The static key information of the APM provider in the Paywall system.

externalid

string

Yes

Information associated with the cards

Example:

  • Masterpass Recurring

  • Paye Msidn

The parameters returned by the service are as follows:

Parameter
Type
Description

ErrorCode

int

Error code. Returns a value of '0' if the operation is successful.

Result

bool

Returns a value of true or false. If the operation is successful, it returns true.

Message

string

If the operation fails, this is the error message provided. It supports language localization based on the locale parameter.

Body

object

If the operation fails, this is the detailed object related to the error.

{
    "ErrorCodeType": 1,
    "ErrorMessage": null,
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": [
        {
            "Id": "4000000053337",
            "Alias": "Kart1",
            "Number": "************0008",
            "ExternalId": null,
            "OrderAmount": "500000",
            "ExpireDate": "2026-01-17T00:00:00",
            "InsertDate": "2025-07-20T21:10:05.7927086",
            "ProductId": "191"
        },
        {
            "Id": "4000000060387",
            "Alias": "Kart2",
            "Number": "************0006",
            "ExternalId": null,
            "OrderAmount": "500000",
            "ExpireDate": "2026-01-17T00:00:00",
            "InsertDate": "2025-07-21T16:29:40.1905498",
            "ProductId": "191"
        }
    ]
}

Last updated