Ttushe / docs
nsk_test_Operational

Pull money from a linked bank account

Idempotent per Idempotency-Key: after a timeout, RETRY THE SAME KEY — the provider rejects a duplicate reference rather than replaying it, so a fresh key would be a second debit. ★★ A successful pull is COLLECTED, not settled: the amount is credited and held as unsettled on the account until the provider settles, because until then the payer's bank can still reverse it. Spending it before then answers 422 FUNDS_NOT_YET_SETTLED.

POSThttps://api.trytushe.com/v1/accounts/{accountId}/funding-sources/{id}/debit
POST/v1/accounts/{accountId}/funding-sources/{id}/debit

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

accountId*string
id*string

Header Parameters

idempotency-key*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "debitId": "string",    "status": "successful",    "amount": "100000",    "creditedAmount": "100000",    "replayed": false  }}