Получение информации об инвойсе

POST https://api.crystalpay.io/v3/invoice/info/

Body

Name
Type
Description

auth_login*

string

Логин кассы

auth_secret*

string

Секретный ключ кассы

id*

string

ID инвойса

* - обязательные поля

Response

{
    "error": false,
    "errors": [],
    "id": "123456789_abcdefghij",
    "url": "https://pay.crystalpay.io/?i=123456789_abcdefghij",
    "state": "notpayed",
    "type": "topup",
    "method": null,
    "required_method": null,
    "amount_currency": "RUB",
    "rub_amount": "100",
    "initial_amount": "100",
    "remaining_amount": "100",
    "balance_amount": "100",
    "commission_amount": "0",
    "description": null,
    "redirect_url": "https://crystalpay.io",
    "callback_url": null,
    "extra": null,
    "created_at": "2024-01-10 11:08:11",
    "expired_at": "2024-01-11 11:08:11",
    "final_at": null
}

Last updated