1. Cards

List the cards under the recurring payment scope

Cards Under Recurring Payment Scope

GET {{Base Adres}}/api/paywall/recurring/card

Important: To use the payment service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' field. PaymentAPI Address

ParameterTypeMandatoryDescription

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

subscriptionid

int

Yes

It is communicated by PayWall during membership creation and successful callback transactions.

Servisten dönen parametreler şu şekildedir:

ParameterTypeDescription

ErrorCode

int

Error code. It returns a value of '0' if the operation is successful.

Result

bool

It returns a 'true' value if the operation is successful, and 'false' if it is not.

Message

string

If the operation is unsuccessful, this is the specified error message.

Body

object

Card details are returned.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": [
        {
            "Id": 1233429,
            "Priority": 1,
            "CardNumber": "454359******6218",
            "ExpiryMonth": 9,
            "ExpiryYear": 2027,
            "Type": "Credit",
            "Kind": "Bireysel Kart",
            "Bank": "T. İŞ BANKASI A.Ş.",
            "Brand": "Visa",
            "Family": "Maximum"
        }
    ]
}

Last updated