Skip to main content
DELETE
/
transactions
/
one-off
/
{id}
Cancel a pending one-off transaction
curl --request DELETE \
  --url https://api.platform.dakota.xyz/transactions/one-off/{id} \
  --header 'x-api-key: <api-key>'
{
  "code": "invalid_request",
  "message": "The request was invalid. Please check your input and try again.",
  "details": {
    "field": "amount",
    "issue": "must be greater than 0"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Unique identifier of the one-off transaction KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Response

Transaction cancelled successfully