1. Add

You can authorize Paywall with your own access credentials through the supported Card Creation providers and add a physical card.

Add Physical Card

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

Simply sending a request to the provided address above will suffice. You can use 'Base Address' as you wish for both the test environment and the production environment.

Important: In order to use the 'Physical Card - Add' 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:

Parameter
Type
Compulsory
Description

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:

Parameter
Type
Compulsory
Description

CardProductionKey

string

Yes

The provider key information to which the card will be added and linked to your account.

Number

string

Yes

The number of the card.

ExpireMonth

string

Yes

The expiration month of the card (Example: 09).

ExpireYear

string

Yes

The expiration year of the card (Example: 25).

Cvv

string

Yes

The security code of the card (Example: 333).

Description

string

Yes

The person or description to which the card will be associated.

Phone

string

Yes

The phone number to which the card will be associated.

ExternalId

string

No

The identity information of the card in your system.

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

The response returned from the service:

Parameter
Type
Description

Body

object

JSON containing detailed information about the card.

ErrorCode

int

Error code. Returns '0' if the operation is successful.

Result

bool

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

Message

string

If the operation is unsuccessful, this is the specified error message, providing language support according to the locale parameter.

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

Last updated