Skip to content

Create an order

Request

Creates a new order for payment processing and returns a URL where the buyer can complete the payment.

Security
ApiKey
Bodyapplication/vnd.api+json

The order information

dataobject
curl -i -X POST \
  https://docs.xmoney.com/_mock/crypto_api/reference/stores/orders \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/vnd.api+json' \
  -d '{}'

Responses

Successfully created an order.

Bodyapplication/vnd.api+json
dataobject
Response
{ "data": { "type": "orders_redirect", "id": "c8d65cc2-0c82-429a-95ea-3f65011fc2cc", "attributes": {} } }