10. Update Description

You can update the description of the cards you have created.

Card - Update Phone Number

PUT {{Base Address}}/api/paywall/card/production/description

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: In order to use the 'Card - Update Phone Number' 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:

ParameterTypeMandatoryDescription

apikeyprivate

string

Yes

Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

Private Client obtained from the merchant panel.

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

ParameterTypeMandatoryDescription

CardId

int

Yes

The Id information of the card in the PayWall, returned at the time of creation.

Description

string

Yes

The description you want to associate with the card.

{
    "CardId": 1254333,
    "Description": "Test Holder"
}

The response returned from the service:

ParameterTypeDescription

Body

object

It returns null. It does not provide details.

ErrorCode

int

Error code. It returns '0' if the transaction is successful.

Result

bool

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

Message

string

If the transaction is unsuccessful, this is the error message specific to the error, providing language support based on the 'locale' parameter.

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

Last updated