Skip to main content

Get Payment

Retrieve payment information by ID.

By Payment ID

GET /v1/payments/{id}

Request Example

curl -X GET https://api.bopay.io/v1/payments/550e8400-e29b-41d4-a716-446655440000 \
-H "X-Identity: your-api-key" \
-H "X-Signature: your-signature"

Response

{
"id": "550e8400-e29b-41d4-a716-446655440000",
"ext_id": "order_12345",
"amount": 5000,
"currency": "RUB",
"rate": 80.95,
"payin_rate": 11,
"terminal_id": "6f15ad5b-325f-44ca-8f36-233379dcaf4c",
"terminal_name": "Sber Deep RUB",
"status": "COMPLETED",
"method": "SBP",
"requisites": {
"type": "sbp",
"value": "+79001234567",
"bank": "sberbank",
"holder": "Ivan I."
},
"payment_url": null,
"valid_until": "2026-01-30T12:30:00Z",
"created_at": "2026-01-30T12:15:00Z"
}

By External ID

GET /v1/payments/by-ext-id/{extId}

Request Example

curl -X GET https://api.bopay.io/v1/payments/by-ext-id/order_12345 \
-H "X-Identity: your-api-key" \
-H "X-Signature: your-signature"

Response

The response format is the same as the request by ID.

Errors

CodeHTTPDescription
PAY_006404Payment not found