11. Card Operations

You can list your cards. The listing method supports various parameter options based on the data you have.

Card - Card Operations

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

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

Important: In order to use the 'Card - 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
Compulsory
Description

apikeyprivate

string

Yes

The Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

The Private Client obtained from the merchant panel.

page

int

Yes

The page to start listing from.

cardid

int

Yes

The Id information of the Card in the Paywall. Returned at the creation moment.

datefrom

string

Yes

Transaction date range. Start date.

dateto

string

Yes

Transaction date range. End date.

The response returned from the service:

Parameter
Type
Description

Body

object

Detail information of the Card.

ErrorCode

int

Error code. Returns '0' if the operation is successful.

Result

bool

It returns a value of true or false. Returns 'true' if the operation

Message

string

If the operation is unsuccessful, this is the specified error message, providing language support according to the locale parameter.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Page": 1,
        "PageItemCount": 25,
        "TotalItemCount": 1,
        "TotalPageCount": 1,
        "PageSkip": 0,
        "Transactions": [
            {
                "TransactionId": 165554,
                "CardNumber": "543534****4444",
                "DateTime": "2023-06-06T11:11:00",
                "Amount": 100,
                "MerchantId": "766443",
                "CardType": 1,
                "CardId": 122,
                "CardDescription": "CardAlias",
                "Description": "Description",
                "AvailableBalance": 10112.80
            }
        ]
    }
}

Last updated