Card Block / Unblock
- This API is used to block / Unblock Cards.
Endpoint
Make sure you are familiar with how APIs work:
- Method: POST
- URL: https://uat.nupaytech.com/api/v1/cards/block-unblock
API Request Fields
Sr.No |
Field |
Min-Max Length |
Mandatory? |
Data Type |
Description |
Comments |
1 |
crn |
16-19 |
M |
String |
Card Reference Number |
- |
2 |
status |
7 |
M |
String |
Card Status |
Either “block” or “unblock” |
3 |
reason |
1-255 |
M |
String |
Reason |
- |
API Response Fields
Sr.No |
Field |
Data Type |
Description |
Comments |
1 |
msg |
String |
Status Update message |
- |
Execution Request Example
{
"crn": "CM00000000020426",
"status": "unblock",
"reason": "test block"
}
Success Response Example
{
"msg": "Card Status changed to Active Successfully."
}