Skip to main content

Playground

This module contains endpoints for testing.


Simulates sending an anomaly webhook

Method: POST
Endpoint: /v1/playground/webhook/anomaly

Request

Request body - required

NameTypeRequiredDescription
actionstringYesEnum: [ lock-rate, create-user, get-user-balances ]

Example body request

{
"action": "lock-rate"
}

Response

Code: 200

Empty response


Simulates sending order update webhook

Method: POST
Endpoint: /v1/playground/webhook/order-update

Request

Request body - required

NameTypeRequiredDescription
idstringYesOrder id
statusstringYesEnum: [ STARTED, REGISTERED, COMPLETED, CANCELED, INSUFFICIENT_AMOUNT, SETTLED ]

Example body request

{
"id": "7fb02323-969a-4936-94ea-86b8773ff1a2",
"status": "STARTED"
}

Response

Code: 200

Empty response