This documentation provides a comprehensive guide to xMoney's REST API, enabling you to seamlessly authenticate, make requests, and retrieve data. Our API accepts form-encoded request bodies and returns responses in JSON format for easy integration with your applications.
https://docs.xmoney.com/_mock/api/reference/
https://api-stage.xmoney.com/
Filter by transaction method.
Filter for transactions with an amount greater than or equal to this value.
Filter for transactions with an amount less than or equal to this value.
Filter by transaction type.
Filter by transaction status. Multiple statuses can be selected.
Specifies which date field to use for createdAtFrom
and createdAtTo
filtering.
Filter for transactions with a date (specified by dateType
) greater than or equal to this value. Use ISO 8601 format.
Filter for transactions with a date (specified by dateType
) less than or equal to this value. Use ISO 8601 format.
Filter by transaction source. Multiple sources can be selected.
Filter by card type. (Only applicable if transactionMethod
is card
).
Filter by masked card number. Supports filtering by:
401288*
or 4012*
)*1881
or *81
)401288******1881
or 4012******81
).(Only applicable if transactionMethod
is card
).
Filter by customer country code. Use ISO 3166-1 alpha-2 codes. (Only applicable if transactionMethod
is card
).
https://docs.xmoney.com/_mock/api/reference/transaction
https://api-stage.xmoney.com/transaction
curl -i -X GET \
'https://docs.xmoney.com/_mock/api/reference/transaction?amountFrom=5&amountTo=10&cardNumber=401288*&cardType=visa&country=US&createdAtFrom=2025-01-31T14%3A05%3A40%2B00%3A00&createdAtTo=2025-01-31T14%3A05%3A40%2B00%3A00¤cy=USD&customerId=123&dateType=refund&email=johndoe%40example.com&orderId=123&page=1&perPage=100&reverseSorting=0&source=service-call&transactionMethod=card&transactionStatus=complete-ok&transactionType=deposit' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "code": 200, "message": "Success", "pagination": { "currentPageNumber": 1, "totalItemCount": 0, "itemCountPerPage": 100, "currentItemCount": 0, "pageCount": 0 }, "data": [ { … } ] }
https://docs.xmoney.com/_mock/api/reference/transaction/{id}
https://api-stage.xmoney.com/transaction/{id}
curl -i -X GET \
https://docs.xmoney.com/_mock/api/reference/transaction/123 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "code": 200, "message": "Success", "data": { "id": 0, "siteId": 0, "orderId": 0, "customerId": 0, "customerData": { … }, "transactionType": "deposit", "transactionMethod": "card", "transactionStatus": "complete-ok", "ip": "192.168.0.1", "amount": "string", "currency": "string", "amountInEur": "string", "description": "string", "customerCountry": "string", "creationDate": "2019-08-24T14:15:22Z", "creationTimestamp": 0, "transactionSource": "service-call", "cardProviderId": 0, "cardProvider": "string", "cardProviderName": "string", "cardHolderName": "string", "cardHolderCountry": "string", "cardHolderState": "string", "cardType": "visa", "cardNumber": "string", "cardExpiryDate": "string", "email": "user@example.com", "cardId": 0, "cardStatus": "active", "backUrl": "http://example.com", "cardDescriptor": "string", "externalCustomData": "string", "fraudScore": 0, "transactionOption": "string", "splitStatus": "string", "relatedTransactionIds": [ … ] } }
https://docs.xmoney.com/_mock/api/reference/transaction/{id}
https://api-stage.xmoney.com/transaction/{id}
curl -i -X PUT \
https://docs.xmoney.com/_mock/api/reference/transaction/123 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d amount=10
{ "code": 200, "message": "Success" }
Reason for refund.
https://docs.xmoney.com/_mock/api/reference/transaction/{id}
https://api-stage.xmoney.com/transaction/{id}
curl -i -X DELETE \
https://docs.xmoney.com/_mock/api/reference/transaction/123 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d reason=customer-demand \
-d 'message=Customer requested refund.' \
-d amount=10
{ "code": 200, "message": "Success" }