12. Update Password

You can update the password of your cards

Card - Update Password

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

All you have to do is send a request to the address given above. You can use 'Base Address' as you wish for the Test environment and Real environment.

Important: In order to use the Card - Password Update service, you must 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

Private Key you have obtained from the member merchant panel.

apiclientprivate

string

Yes

Private Client that you have obtained from the member merchant panel.

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

Parameter
type
Compulsory
Description

CardId

int

Yes

Card's ID information in Paywall. Returns at creation time

Pin

string

Yes

Person or description to associate the card with

{
    "CardId": 212,
    "Pin": "232224"
}

Response from the service:

Parameter
Type
Description

Body

object

Returns null. Does not give details

ErrorCode

int

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

Result

bool

Returns true or false. Returns 'true' if the operation is successful

Message

string

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

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

Last updated