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/
External identifier for the customer.
Zip code. See Postal code definition.
https://docs.xmoney.com/_mock/api/reference/customer
https://api-stage.xmoney.com/customer
curl -i -X POST \
https://docs.xmoney.com/_mock/api/reference/customer \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d identifier=string \
-d email=user@example.com \
-d siteId=0 \
-d firstName=string \
-d lastName=string \
-d country=US \
-d state=NY \
-d city=string \
-d zipCode=string \
-d address=string \
-d phone=string
{ "code": 200, "message": "Success", "data": { "id": 0 } }
https://docs.xmoney.com/_mock/api/reference/customer
https://api-stage.xmoney.com/customer
curl -i -X GET \
'https://docs.xmoney.com/_mock/api/reference/customer?country=string&createdAtFrom=2000-01-31T14%3A05%3A40%2B00%3A00&createdAtTo=2000-01-31T14%3A05%3A40%2B00%3A00&email=string&identifier=string&page=1&perPage=100&reverseSorting=0' \
-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/customer/{id}
https://api-stage.xmoney.com/customer/{id}
curl -i -X GET \
'https://docs.xmoney.com/_mock/api/reference/customer/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "code": 200, "message": "Success", "data": { "id": 123, "siteId": 123, "identifier": "customer-123", "firstName": "John", "lastName": "Doe", "country": "US", "state": "NY", "city": "New York", "zipCode": "10001", "address": "123 Main St", "phone": "+1 555 555 5555", "email": "user@example.com", "creationDate": "2020-05-18T00:00:00+00:00", "creationTimestamp": 1589788800 } }
External identifier. Allowed characters 0-9 a-z/A-z - _ . @ space and a max of 92 characters
Zip code. See Postal code definition.
https://docs.xmoney.com/_mock/api/reference/customer/{id}
https://api-stage.xmoney.com/customer/{id}
curl -i -X PUT \
'https://docs.xmoney.com/_mock/api/reference/customer/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d identifier=string \
-d email=string \
-d firstName=string \
-d lastName=string \
-d address=string \
-d city=string \
-d country=US \
-d state=NY \
-d zipCode=string \
-d phone=string
{ "code": 200, "message": "Success", "data": { "id": 123 } }
https://docs.xmoney.com/_mock/api/reference/customer/{id}
https://api-stage.xmoney.com/customer/{id}
curl -i -X DELETE \
'https://docs.xmoney.com/_mock/api/reference/customer/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "code": 200, "message": "Success" }