8. List of Cards

You can list the cards you have created. The listing method provides various parameter options based on the data you have, allowing you to perform customized listings.

Card - List

GET {{Base Address}}/api/paywall/card/production/list

Sending a request to the provided address above will be sufficient. You can use the 'Base Address' as you wish for both the test environment and the production environment

Important: In order to use the 'Card - List' service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field. PaymentAPI Address

The header information that needs to be sent to the service is as follows:

ParameterTypeMandatoryDescription

apikeyprivate

string

Yes

The Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

The Private Client obtained from the merchant panel.

start

int

Yes

Starting point for listing.

length

int

Yes

The length of the list.

cardid

int

Yes

The ID information of the card in PayWall. Returned at the time of creation.

cardnumber

string

No

The known data inside the card.

Contains works

phone

string

No

The phone number associated with the card.

Contains works

externalid

string

No

The identity provided at the time of card creation.

Contains works

The response from the service:

ParameterTypeDescription

Body

object

Details of the card.

ErrorCode

int

Error code. If the transaction is successful, it returns '0'.

Result

bool

It returns either true or false. If the transaction is successful, it returns 'true'.

Message

string

If the transaction is unsuccessful, this is the error message provided, with language support according to the 'locale' parameter.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Data": [
            {
                "Id": 1145543,
                "CardProductionName": "Papara",
                "CardExternalId": 66696,
                "ExternalId": null,
                "InsertDateTime": "2023-08-28T12:28:26.64394",
                "Phone": "5554443322",
                "CardNumber": "529799******0986",
                "ExpiryMonth": "8",
                "ExpiryYear": "27",
                "LastActivityTypeId": 2,
                "IsActive": true,
                "IsDelete": false
            }
        ],
        "TotalRecord": 14
    }
}

Last updated