Invoice

NameTypeDescription

id

number

Unique ID for this invoice.

key

string

Unique key for this invoice.

status

paid | active

Status of the invoice.

currency_type

fiat | crypto

Type of the invoice.

allowed_contracts

Optional. Array of contracts allowed for payment. If not, then all contracts are allowed. Available only if the value of the field currency_type is “fiat”.

contract

Optional. Contract for payment of invoice. Available only if the value of the field currency_type is “crypto”.

fiat

Optional. Fiat currency code. Available only if the value of the field currency_type is “fiat”.

amount

string

Amount of the invoice for which the invoice was created.

paid_contract

Optional. Contract for which the invoice was paid. Available only if status is “paid”.

paid_amount

string

Optional. Amount of the invoice for which the invoice was paid. Available only if status is “paid”.

paid_btn_name

Optional. Text of the button.

paid_btn_url

string

Optional. URL opened using the button.

description

string

Optional. Description for this invoice.

payload

string

Optional. Previously provided data for this invoice.

webhook_url

string

Optional. URL to send the Webhook.

webhook_response

string

Optional. The response we received after sending the webhook.

webhook_response_code

number

Optional. The response code we received after sending the webhook. The value will be -1 if we were unable to send the webhook.

link

string

Link to invoice.

created_at

DateTime

Date of creation.

updated_at

DateTime

Date of update.

Last updated