1. Add

You can authorize PayWall using your own access credentials through supported Card Issuance Providers to add a physical card.

Add a Physical Card

POST {{Base Address}}/api/paywall/card/production/physical/add

Yukarıda verilmiş olan adrese istek atmanız yeterli olacaktır. Test ortamı ve Gerçek ortam için 'Base Address' istediğiniz gibi kullanabilirsiniz.

Important: To use the 'Add a Physical Card' service, you need to include 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.

The parameters that need to be sent to the service are as follows:

ParameterTypeMandatoryDescription

CardProductionKey

string

Yes

The provider key information associated with the card to be added and linked to your account.

Number

string

Yes

The card number.

ExpireMonth

string

Yes

The card's expiration month (Example: 09).

ExpireYear

string

Yes

The card's expiration year (Example: 25).

Cvv

string

Yes

The card's security number (Example: 333).

Phone

string

Yes

The phone number to which the card will be associated.

Description

string

Yes

The description to which the card will be associated.

ExternalId

string

No

The identification information for the card in your system.

{
    "CardProductionKey": "ProviderKey",
    "Number": "5359250012345678",
    "ExpireMonth": "11",
    "ExpireYear": "28",
    "Cvv": "948",
    "Phone": "5554443322",
    "Description": "Card Holder",
    "ExternalId": "1123ASDBB23"
}

The response from the service:

ParameterTypeDescription

Body

object

JSON containing detailed information about the card.

ErrorCode

int

Error code. If the operation is successful, it returns the value '0'.

Result

bool

It returns a value of either "true" or "false." If the operation is successful, it returns "true."

Message

string

In case of an error, this message is provided for the specific error, offering language support based on the "locale" parameter.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": null
}

Last updated