Playground
This module contains endpoints for testing.
Simulates sending an anomaly webhook
Method: POST
Endpoint: /v1/playground/webhook/anomaly
Request
Request body - required
Name | Type | Required | Description |
---|---|---|---|
action | string | Yes | Enum: [ 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
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Order id |
status | string | Yes | Enum: [ STARTED, REGISTERED, COMPLETED, CANCELED, INSUFFICIENT_AMOUNT, SETTLED ] |
Example body request
{
"id": "7fb02323-969a-4936-94ea-86b8773ff1a2",
"status": "STARTED"
}
Response
Code: 200