11. Card Transactions

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

Card - Card Transactions

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

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: To use the Card - Card List service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' section. PaymentAPI Address

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

ParameterTypeRequiredDescription

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 PayWall, returned at the time of creation.

datefrom

string

Yes

The transaction date range. Start date.

dateto

string

Yes

The transaction date range. End date

The response from the service:

ParameterTypeDescription

Body

object

Detail information about the card.

ErrorCode

int

Error code. It returns '0' if the transaction is successful.

Result

bool

It returns a value of true or false. It returns 'true' if the transaction is successful.

Message

string

If the transaction is unsuccessful, this is the error message specific to the error, providing language support based on 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",
                "CardId": 122,
                "CardDescription": "CardAlias",
                "Description": "Description",
                "AvailableBalance": 10112.80
            }
        ]
    }
}

Last updated