LogoLogo
  • Ishni boshlash
  • Internet-ekvayering bilan integratsiya
  • Checkout API — to‘lov freymi
    • Prepare — buyurtma yaratish
    • Payment — kartadan yechish
    • Verify — kod bilan tasdiqlash
    • Get Service Info — xizmat ma’lumotlari
    • Get Order Info — buyurtma ma’lumotlari
    • Receipt — fiskal chek
    • Invoys bo‘yicha to‘lov
    • Operatsiya holatlari
  • Acquiring API — kartalar va to‘lovlar
  • Billing API integratsiyasi uchun talablar
  • Ichki API (xizmat uchun)

Verify — kod bilan tasdiqlash

  1. Checkout api — to‘lov freymi
  2. Verify — kod bilan tasdiqlash

Verify — kod bilan tasdiqlash

3. Payment Verify

POST- api/v1/checkout/verify

Request header

Field

Optional

Description

Content-Type

false

application/json

X-Lang

true

RU

Request Body

Field

Optional

Description

operationId

false

oldingi so‘rovdan olingan operationId

otpCode

false

SMS kod

Request sample

curl --location '{baseUrl}/api/v1/checkout/verify' \
--header 'Content-Type: application/json' \
--data '{
   "operationId": "70d6b93d-716d-47c3-ae4c-04d00de23615",
   "otpCode": "568338"
}'

Response sample (HTTP 200)

{
    "data": {
        "id": "85bec26d-d86a-4fdc-aece-2269d9d3b26b",
        "amount": 5000,
        "feeAmount": 0,
        "currency": "UZS",
        "serviceName": "Smartcast Business1",
        "orderId": "ee6ec31a-a59f-4c7d-80ba-32733f2054b4",
        "senderMasked": "9860•5395",
        "payTime": 1760899056300,
        "serviceImageUrl": "https://s3.xonsaroypay.uz/ecom/business-1-1141661b-e35e-4f3b-bdb5-44f1e6ddf326.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ecom-user%2F20251019%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251019T183736Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=69aae726e28c4d55647e47d8e96de63434e24752b973b901ee9cbc678f2561f0",
        "items": [
            {
                "id": 3,
                "fieldOrder": 0,
                "key": "billingIdentifier",
                "title": "Contract number",
                "isRequired": false,
                "type": "STRING",
                "fieldRegex": "^[a-zA-Z]+$",
                "placeholder": "BBxxxxxxx",
                "value": "ZE1239123"
            }
        ],
        "operationStatus": "SUCCESS",
        "message": "success"
    },
    "timestamp": 1760899056308
}

Response sample (HTTP 400)

{
    "data": {
        "message": "Операция запрещена.Для уточнения обратитесь в поддержку"
    },
    "timestamp": 1751276143988
}

OldingiPayment — kartadan yechish
KeyingiGet Service Info — xizmat ma’lumotlari