7. Details

You can access the details of the cards you have created.

Card - Details

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

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 - Details' 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.

cardid

string

Yes

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

The response from the service:

ParameterTypeDescription

Body

object

Detail information related to 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": {
        "CardId": 15,
        "CardIdExternal": 66735,
        "ExternalId": "1231231a3",
        "BalanceInfo": {
            "TotalBalance": 1.00
        },
        "CardInfo": {
            "CardNumberMasked": "529799******0142",
            "CardNumber": "5297990033450142",
            "ExpiryMonth": "08",
            "ExpiryYear": "27",
            "Cvv": "413"
        }
    }
}

Last updated