Skip to content

Get Single Card

Endpoint details

Method: GET
URL: BASE_URL/merchant/userCard/getCard/{cardId}/
Header:

http
Authorization: Bearer < ACCESS_TOKEN >
PathTypeRequired
cardIdstringYes

cardId olinishi kerak bo‘lgan kartaning identifikatori hisoblanadi.

Success response

json
{
  "result": {
    "card": {
      "userId": "707",
      "cardId": "66634c5b-e5d9-4b2c-b95c-fc14da331830",
      "owner": "Levi A.",
      "cardName": "string",
      "number": "986034******9999",
      "balance": 24032775200,
      "expireDate": "2909",
      "bankId": "32",
      "vendor": "Humo",
      "processing": "Humo",
      "status": {
        "result": {
          "is_active": true,
          "status_message": "active",
          "sms_info": true
        }
      }
    }
  }
}

balance tiyin ko‘rinishida qaytadi: 100 = 1 Sum

Error response

json
{
  "error": {
    "code": "card_not_found_in_processing_center",
    "message": "card_not_found"
  }
}

Error codes of the method

CodeMessageDescription
card_not_found_in_processing_centercard_not_foundKarta processing markazida topilmadi
card_is_blocked_in_processing_centercard_is_blockedKarta processing markazida bloklangan yoki aktiv emas (Uzcard yoki Humo)
balance_refresh_errorbalance_refresh_errorBalansni yangilashda xatolik yuz berdi
card_not_foundcard_not_foundKarta Paylov tizimida topilmadi

Success response when card status not active

json
{
  "result": {
    "card": {
      "userId": "32",
      "cardId": "1a11a111-b6c1-43c2-b1ae-ee3f7b51231f",
      "owner": "Levi A.",
      "cardName": "",
      "number": "561468******1311",
      "balance": 150000,
      "expireDate": "2505",
      "bankId": "13",
      "vendor": "MIR",
      "processing": "Uzcard",
      "status": {
        "result": {
          "is_active": false,
          "status_message": "stolen_card_capture",
          "sms_info": true
        }
      }
    }
  }
}

Card status messages

💡 Note: is_active qiymati true bo‘lsa, status_message qiymati active bo‘ladi.

  • active
  • call_issuer
  • warm_card
  • do_not_honor
  • honor_with_id
  • not_permitted
  • lost_card_capture
  • stolen_card_capture
  • call_security_capture
  • invalid_card_capture
  • pick_up_card_special_condition
  • call_acquirer_security
  • temporary_blocked_by_user
  • pin_attempts_exceeded
  • forced_pin_change
  • credit_debts
  • unknown
  • pin_activation
  • instant_card_personification_waiting
  • fraud_prevention
  • permanent_blocked_by_client
  • temporary_blocked_by_client
  • decline_restricted_card
  • decline_card_not_effective
  • pick_up_restricted_card
  • pick_up_special_conditions
  • pick_up_lost_card
  • pick_up_stolen_card
  • decline_card_not_active_at_bank_will
  • decline_card_not_active_at_cardholder_will