Create a deposit order
POST/api/v1/order/deposit
Create a new deposit order for a specific integration. This endpoint allows the client to decide how much money they want to deposit into their balance. .
Once the first transaction from the client is detected, the payment is considered complete, and the status is updated to completed
after 19 transaction confirmations from the network.
The order is valid for 20 minutes. During this time, the payer must complete the payment.
Request
- application/json
Body
Details of the deposit order to create.
Possible values: Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
The ID of the integration for which the deposit order is created. Retrieve it from the Retrieve a list of integrations endpoint.
Responses
- 200
Deposit order created successfully.
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier of the created order.
The URL to the payment page where the client needs to be redirected to complete the payment.
The HTML code for embedding the payment widget on your site.
{
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"paymentLink": "https://example.com/payment/123e4567-e89b-12d3-a456-426614174000",
"widgetCode": "<iframe src=https://example.com/iframe?integrationId=1ef4e7cd-0b48-657a-ab8c-65ac066ea2c5&orderId=1ef61435-1606-6f76-bd9d-2fc7624dd369 width=\"100%\" height=\"800px\"></iframe>"
}