Получение информации о счёте

Получение информации о счёте

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

Request Body

Name
Type
Description

auth_login*

String

Логин кассы

auth_secret*

String

Secret кассы

id*

String

ID инвойса

{
  "error": false,
  "errors": [],
  "id": "123456789_abcdefghij",
  "url": "https://pay.crystalpay.io/?i=123456789_abcdefghij",
  "state": "notpayed",
  "type": "purchase",
  "method": null,
  "required_method": "",
  "currency": "RUB",
  "service_commission": 0,
  "extra_commission": 0,
  "amount": 100,
  "pay_amount": 100,
  "remaining_amount": 100,
  "balance_amount": 100,
  "description": "",
  "redirect_url": "https://crystalpay.io/",
  "callback_url": "",
  "extra": "",
  "created_at": "2023-01-01 00:00:00",
  "expired_at": "2023-01-03 12:34:56"
}

Last updated