POST
/
invoices

Body

application/json
account_id
string
required
additional_data
object
required

Arbitrary data. You can specify anything.

invoice_amount
number
required

Invoice amount in invoiceCurrency

invoice_currency
enum<string>
required
Available options:
EUR,
USD,
UAH,
RUB
merchant_id
string
required
type
enum<string>
required

Type of invoice. Can be Regular or P2P.

Available options:
Regular,
P2P
url_return
string
required

The link to which would be the "Back" button on the invoice.

url_status_webhook
string
required

The link that will receive the webhook. You can read more about it here.

url_success
string
required

This is the link to which the user will be redirected after successful payment of the invoice.

Response

201 - application/json
result
object
required