app_id | string | The unique identifier for the payment application. |
payment_method_type | string | The method by which the payment will be made. Options include cryptocurrency, card, skrill, etc. |
invoice_id | string | The unique identifier for the generated invoice from UniPayment. |
order_id | string | A unique identifier for the merchant's order. Using a unique order ID helps in matching it with the invoice ID. |
price_amount | float | The amount to be collected from the buyer, as specified in the request. |
price_currency | string | The currency in which the invoice is priced, as specified in the request. |
network | string | The specified blockchain network through which the buyer will send the payment. (Applicable for cryptocurrency payments) |
address | string | The blockchain address to which the buyer will send the payment. (Applicable for cryptocurrency payments) |
pay_amount | float | The amount that the buyer will pay, specified in the pay currency. |
pay_currency | string | The currency in which the buyer will make the payment. This can be either a cryptocurrency or a fiat currency. |
exchange_rate | float | The exchange rate between the price currency and the pay currency at the time of the invoice creation. |
paid_amount | float | The amount that has been paid by the buyer so far. |
refunded_price_amount | float | The amount that has been refunded to the buyer, if any. |
create_time | datetime | The timestamp when the invoice was created. |
expiration_time | datetime | The time window during which the invoice can be paid. After this time, the invoice status will change to expired. |
confirm_speed | string | The speed at which blockchain confirmations are processed. (Applicable for cryptocurrency payments) |
host_to_host_mode | boolean | Indicates if HostToHost mode is enabled. Returns true if enabled |
host_to_host_data | object | Contains payment details when HostToHost mode is enabled. Structure varies by payment method. See Details. |
status | string | The current status of the invoice. See Invoice Status. |
error_status | string | The error status of the invoice, if any. This indicates any issues encountered during the invoice processing. |
invoice_url | string | The URL of the invoice, which can be used by the merchant for checkout or to prepare their own checkout page using the response data. |