Skip to main content

PIN

Set PIN​

This API allows you to sets the PIN for a card in the system.

GET {{baseUrl}}/issuing/api/:version/card/setpin

Description

Sets the personal identification number (PIN) for a specific card within the system. This API allows the cardholder to securely define the card’s PIN, enabling ATM withdrawals and POS transactions.

Setting a PIN involves two steps:
Setup – Initiates the PIN setup process.
Confirm – Confirms and finalizes the PIN.

The API returns an iframe URL for PIN setup. This URL can be embedded in your web or mobile application to allow the cardholder to securely set their PIN without exposing sensitive information.

πŸ”— Path Parameters

version string required

API version number. Default value is v1.

πŸ“© Request Headers

x-api-key string required

Shared X-API key

x-product-id string required

Shared Product ID

x-cardholder-id string required

Unique identifier of the cardholder

x-wallet-id string required

Unique identifier of the wallet

x-card-id string required

Unique identifier of the card

x-client-id string

Client identification key

x-request-id string required

Idempotency key for request tracking

Content-Type string required

Must be application/json

Authorization string

Bearer access token

Request Example

curl --location --request GET \
--url '{{baseUrl}}/issuing/api/:version/card/setpin' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-wallet-id: {{WalletID}}' \
--header 'x-card-id: {{CardID}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \

Response Example

{
"status": "Success",
"message": "Set PIN URL fetched successfully.",
"code": 200,
"data": [
{
"set_pin_url": "URL"
}
]
}

Reset PIN​

This API is used to reset PIN for a card in the system.

GET {{baseUrl}}/issuing/api/:version/card/resetpin

Description

Resets the personal identification number (PIN)for a specific card within the system. This API allows the cardholder to securely reset their card’s PIN, ensuring continued protection for ATM withdrawals and POS transactions.

Resetting a PIN involves two steps::
Reset – Initiates the PIN reset process.
Confirm – Confirms and finalizes the new PIN.

This API returns an iframe URL for resetting the PIN. This URL, when retrieved in the response, enables you to display it within an iframe in your application (web/mobile).

πŸ”— Path Parameters

version string required

API version number. Default value is v1.

πŸ“© Request Headers

x-api-key string required

Shared X-API key

x-product-id string required

Shared Product ID

x-cardholder-id string required

Unique identifier of the cardholder

x-wallet-id string required

Unique identifier of the wallet

x-card-id string required

Unique identifier of the card

x-client-id string

Client identification key

x-request-id string required

Idempotency key for request tracking

Content-Type string required

Must be application/json

Authorization string

Bearer access token

Request Example

curl --location --request GET \
--url '{{baseUrl}}/issuing/api/:version/card/resetpin' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-wallet-id: {{WalletID}}' \
--header 'x-card-id: {{CardID}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \

Response Example

{
"status": "Success",
"message": "Reset PIN URL fetched successfully.",
"code": 200,
"data": [
{
"set_pin_url": "URL"
}
]
}

Change PIN​

This API is used to change PIN for a card in the system.

GET {{baseUrl}}/issuing/api/:version/card/changepin

Description

Changes the personal identification number (PIN) for a specific card within the issuing platform. This API allows the cardholder to securely update the existing PIN, ensuring continued protection for ATM withdrawals and POS transactions.

Changing a PIN involves three steps:
Enter current PIN – Provide the existing PIN for verification.
Enter new PIN – Set the new PIN for the card.
Confirm new PIN – Confirms and finalizes the new PIN.

This API returns an iframe URL to change pin. The URL returned in this response will allow you to display it as an Iframe in your application (web/mobile).

πŸ”— Path Parameters

version string required

API version number. Default value is v1.

πŸ“© Request Headers

x-api-key string required

Shared X-API key

x-product-id string required

Shared Product ID

x-cardholder-id string required

Unique identifier of the cardholder

x-wallet-id string required

Unique identifier of the wallet

x-card-id string required

Unique identifier of the card

x-client-id string

Client identification key

x-request-id string required

Idempotency key for request tracking

Content-Type string required

Must be application/json

Authorization string

Bearer access token

Request Example

curl --location --request GET \
--url '{{baseUrl}}/issuing/api/:version/card/changepin' \
--header 'x-api-key: {{Shared X-API key}}' \
--header 'x-product-id: {{Shared ProductID}}' \
--header 'x-cardholder-id: {{CardholderID}}' \
--header 'x-wallet-id: {{WalletID}}' \
--header 'x-card-id: {{CardID}}' \
--header 'x-client-id: {{ClientID}}' \
--header 'x-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{AccessToken}}' \

Response Example

{
"status": "Success",
"message": "Change PIN URL fetched successfully.",
"code": 200,
"data": [
{
"set_pin_url": "URL"
}
]
}