1. Create

You can authorize PayWall with your own access credentials through supported Card Creation providers and perform the virtual card creation process.

Create a Virtual Card

POST {{Base Address}}/api/paywall/card/production/virtual

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: To use the Virtual Card Creation service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' section. PaymentAPI Address

The header information that needs to be sent to the service is as follows:

ParameterTypeMandatoryDescription

apikeyprivate

string

Yes

The Private Key you obtained from the merchant panel.

apiclientprivate

string

Yes

The Private Client you obtained from the merchant panel.

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

ParameterTypeMandatoryDescription

CardProductionKey

string

Yes

The provider key information for the creation of your card and its connection to your account.

Phone

string

Yes

The phone number to which the card will be linked.

Description

string

Yes

The description to which the card will be associated.

ExternalId

string

No

The identification information associated with the card in your system.

{
    "CardProductionKey": "Papara",
    "Phone": "5554443322",
    "Description": "Card Holder",
    "ExternalId": "1231231a3"
}

Servisten dönen cevap:

ParameterTypeDescription

Body

object

JSON containing detailed information about a kart

ErrorCode

int

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

Result

bool

It returns a true or false value. If the operation is successful, it returns 'true.

Message

string

If the operation is unsuccessful, this is the specified error message, providing language support based on the 'locale' parameter.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "CardId": 1786886,
        "CardIdExternal": 66736,
        "ExternalId": "1231231a3",
        "CardNumber": "5297990038619840",
        "ExpiryMonth": "08",
        "ExpiryYear": "27"
    }
}

Last updated