Skip to main content
POST
/
sandbox
/
transactions
/
{id}
/
simulate
Simulate transaction progress
curl --request POST \
  --url https://api.platform.dakota.xyz/sandbox/transactions/{id}/simulate \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "status": "pending",
  "error_message": "<string>"
}
'
{
  "message": "Transaction progressed to completed"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Transaction ID

Body

application/json
status
enum<string>
required

New status for the transaction

Available options:
pending,
processing,
completed,
failed
error_message
string

Optional error message if status is failed

Response

Transaction state updated successfully

message
string
Example:

"Transaction progressed to completed"