1. Cards

Tekrarlı ödeme kapsamındaki kartları listeleyin

Cards within the Recurring Payment Scope

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

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

PaymentAPI Address

Parameter
Type
Compulsory
Description

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

Sent by Paywall during membership creation and successful callbacks.

The parameters returned from the service are as follows:

Parameter
Type
Description

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 specified error message.

Body

object

The 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