Skip to content

Bind Status ​

Optional. If the webhook did not arrive for some reason, the partner backend can check the result with this request.

Endpoint details ​

Method: GET
URL: BASE_URL/merchant/userCard/bindSession/{token}/status/
Header:

http
Authorization: Bearer < ACCESS_TOKEN >
PathTypeRequiredDescription
tokenstringYestoken received when creating the link

Success response ​

json
{
  "result": {
    "state": "confirmed",
    "card": {
      "cardId": "b1e2f3a4-...-uuid",
      "userId": "partner-user-10234",
      "owner": "TEST USER",
      "cardName": null,
      "number": "860012******9012",
      "balance": 1500000,
      "expireDate": "2612",
      "bankId": "7",
      "bankName": "Ipoteka Bank",
      "vendor": "uzcard",
      "processing": "Uzcard",
      "status": {
        "is_active": true,
        "status_message": "active",
        "sms_info": true
      }
    }
  },
  "error": null
}

state values

StateDescription
createdNot bound yet
card_pendingCard entered, waiting for SMS
confirmedBound

The card field is filled only in the confirmed state. Its structure is the same as card in the webhook.

Fail response ​

json
{
  "result": null,
  "error": {
    "code": "link_expired",
    "message": "This link has expired. Please request a new one."
  }
}