Skip to main content

PIN

Set PIN​

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

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

Description

Sets the personal identification number (PIN) for a cardholder within the system. This API allows the cardholder to securely define their PIN, enabling safe access for ATM withdrawals and POS transactions.

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-cardholder-idstringYesCardholder Identification
x-wallet-idstringYesWallet Identification
x-card-idstringYesCard Identification
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

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-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \

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 cardholder in the system.

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

Description

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

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-cardholder-idstringYesCardholder Identification
x-wallet-idstringYesWallet Identification
x-card-idstringYesCard Identification
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

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-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \

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 cardholder in the system.

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

Description

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

Request Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version number

Request Headers

ParameterTypeRequiredDescription
x-api-keystringYesShared X-API key
x-product-idstringYesShared ProductID
x-cardholder-idstringYesCardholder Identification
x-wallet-idstringYesWallet Identification
x-card-idstringYesCard Identification
x-request-idstringYesIdempotency key for request tracking
Content-TypestringYesMust be application/json

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-request-id: {{IdempotencyKey}}' \
--header 'Content-Type: application/json' \

Response Example

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