xMoney Crypto API (1.1.0)

The xMoney Crypto API allows merchants to integrate cryptocurrency payments into their platforms. It follows RESTful principles and uses JSON:API specifications.

Key features:

  • Resource-oriented URLs
  • JSON responses
  • Standard HTTP response codes and verbs

API keys are used for authentication to ensure secure communication. Webhooks are supported for real-time payment notifications.

Overview
Languages
Servers
Development
https://docs.xmoney.com/_mock/guides/crypto/reference/
Production server (live)
https://merchants.api.crypto.xmoney.com/api/
Sandbox server (test)
https://merchants.api.sandbox.crypto.xmoney.com/api/

Order

Operations related to managing orders.

Operations

Create an order

Request

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

Bodyapplication/vnd.api+json

The order information

dataobject
curl -i -X POST \
  https://docs.xmoney.com/_mock/guides/crypto/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
application/vnd.api+json
{ "data": { "type": "orders_redirect", "id": "c8d65cc2-0c82-429a-95ea-3f65011fc2cc", "attributes": {} } }

Retrieve an order

Request

Retrieve the details of an existing order using its unique identifier.

Path
idstring(UUID)required

The unique identifier (UUID) of the order.

Query
includestring

Comma-separated list of related resources to include in the response. Currently, only payments is supported.

curl -i -X GET \
  'https://docs.xmoney.com/_mock/guides/crypto/reference/stores/orders/{id}?include=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Order details retrieved successfully.

Bodyapplication/vnd.api+json
dataobject

Represents an order.

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