Skip to main content

PayIn | Mobile top-up (cross-border)

The payer tops up a subscriber account of a mobile operator in another country. The order amount is in RUB; the amount to pay is requisites.amount_local.

To get requisites for the Mobile top-up (cross-border) method, send a request (curl example):

curl -X POST https://api.bopay.io/v1/payments \
-H "Content-Type: application/json" \
-H "X-Identity: <API-key>" \
-H "X-Signature: <Signature>" \
-d '{
"ext_id": "order_12345",
"amount": 1000,
"currency": "RUB",
"method": "CROSS_BORDER_SIM",
"country": "TJ",
"bank": "tcell",
"notify_url": "https://merchant.example/webhook"
}'

POST /v1/payments — headers and signature: Authorization.

Parameters​

FieldTypeRequiredDescription
ext_idstringyesYour order ID, unique
amountnumberyesAmount in RUB
currencystringyesRUB. The terminal must work in RUB
methodstringyesCROSS_BORDER_SIM
countrystringnoRequisite country (ISO-2), e.g. TJ. Without it — any available country
bankstringnoOperator code from the directory, e.g. tcell
client_idstringnoPayer ID on your side
notify_urlstringnoURL for webhooks
notification_tokenstringnoReturned in the X-Notification-Token webhook header

The response contains the requisites:

{
"id": "550e8400-e29b-41d4-a716-446655440000",
"ext_id": "order_12345",
"amount": 1000,
"currency": "RUB",
"status": "PENDING",
"method": "CROSS_BORDER_SIM",
"requisites": {
"type": "sim",
"value": "+992900123456",
"bank": "tcell",
"bank_name": "Tcell",
"country": "TJ",
"currency": "TJS",
"amount_local": 118.5
},
"payment_url": "https://pay.bopay.io/invoice?id=550e8400-e29b-41d4-a716-446655440000",
"valid_until": "2026-01-30T12:30:00Z",
"created_at": "2026-01-30T12:15:00Z"
}

Response fields​

FieldDescription
idPayment ID
requisites.valueWhere to pay: subscriber phone number
requisites.bankBank
requisites.amount_localAmount to pay in requisites.currency
payment_urlPayment page
valid_untilPayment deadline

Show requisites to the payer or redirect them to payment_url. The payer transfers requisites.amount_local in requisites.currency.

Other fields and errors — see Create Payment. Status — webhook or GET /v1/payments/{id}.