The endpoint and http method information used to assign a random pin to the relevant card are given below.
SetCardMobilePhone service should be used to change the phone number to which SMS will be sent.
HTTP Method | URL |
---|---|
POST | /v1/cp/Issuing/SetCardRandomPin |
Params | Type | Mandatory |
---|---|---|
card_no | string | Evet |
send_sms | bool | Evet |
Params | Type |
---|---|
status | int |
code | string |
message | string |
payload | object |
REQUEST (POST):
{
"card_no": "434610oahelc6789",
"send_sms": true
}
RESPONSE:
{
"status": 0,
"code": null,
"message": null,
"payload": true
}
}