Transactions
/banking/transactions/{id}/cancel
Authorization
ApiKey X-Api-Key<token>
Tenant API key (sk_live_…), minted from the platform console.
In: header
Path Parameters
id*string
Header Parameters
Idempotency-Key*string
Unique key for this write. Retrying with the same key replays the original response instead of applying the write twice.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/banking/transactions/string/cancel" \ -H "Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "message": "string", "code": 0, "data": { "id": "string", "walletId": "string", "productId": "string", "type": "string", "status": "string", "amount": 0, "feeAmount": 0, "netAmount": 0, "currency": "string", "channel": "string", "externalReference": "string", "description": "string", "journalEntryId": "string", "holdId": "string", "failureReason": "string", "idempotencyKey": "string", "metadata": { "property1": { "options": { "propertyNameCaseInsensitive": true }, "parent": {}, "root": {} }, "property2": { "options": { "propertyNameCaseInsensitive": true }, "parent": {}, "root": {} } }, "settledAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Edit on GitHub
Last updated on