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:
Parameter | Type | Mandatory | Description |
---|---|---|---|
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:
Parameter | Type | Description |
---|---|---|
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. |
Last updated