Depa LogoDocsv1
API Reference

Sandbox

Simulate money arriving, so you can test deposits, ledger postings and webhooks without real transfers.

These endpoints exist only in the sandbox, https://sandbox.depasify.com/api/v1. Each simulated payment is confirmed immediately and sends the same webhook as a real one.

POST/sandbox/accounts/{account_id}/simulate_incoming_fiat

Creates an incoming transfer on a bank account of the account, as if a sender had paid into it. It's confirmed immediately, posted to the ledger, and reported by webhook. Sandbox only.

Authorization

BearerAuth
AuthorizationBearer <token>

Token from POST /sign_in, sent as Authorization: Bearer <token>.

In: header

Path Parameters

account_id*string

The UUID of the account

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/sandbox/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/simulate_incoming_fiat" \  -H "Content-Type: application/json" \  -d '{    "bank_account_id": "6d1c9e2a-3f4b-4c8d-a7e6-5b2f0e9d1c47",    "amount": 1000  }'
{  "data": {    "id": "7e2a9c4b-5d1f-4b8e-9a3c-6f0e2d8b1a74",    "iban": "DE89370400440532013000",    "description": "Invoice 2026-0142",    "recipient": "Müller Bürobedarf GmbH",    "amount": "1250.0",    "currency": "EUR",    "kind": "outgoing",    "status": "sent",    "card_bin": null,    "last_four": null,    "account_number": null,    "fiat_payment_fee": 1.5,    "created_at": 1772447756,    "approval_progress": "1/2",    "initiated_by": "maria@acme.example",    "approved_by": [      "jon@acme.example"    ],    "rejected_by": null,    "payment_rail": "sepa",    "settlement_status": null,    "refusal_description": null  }}
POST/sandbox/accounts/{account_id}/simulate_incoming_crypto

Creates an incoming deposit on a blockchain wallet of the account, as if someone had sent funds on-chain. It's confirmed immediately, posted to the ledger, and reported by webhook. Sandbox only.

Authorization

BearerAuth
AuthorizationBearer <token>

Token from POST /sign_in, sent as Authorization: Bearer <token>.

In: header

Path Parameters

account_id*string

The UUID of the account

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/sandbox/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/simulate_incoming_crypto" \  -H "Content-Type: application/json" \  -d '{    "blockchain_wallet_id": "9a7b3c2d-1e4f-4a6b-8c9d-0e1f2a3b4c5d",    "amount": 500  }'
{  "data": {    "id": "0c4f8a2e-6b1d-4e7a-8f3c-9d5b2a1e7c60",    "amount": "500.0",    "currency": "USDC",    "kind": "outgoing",    "status": "sent",    "created_at": 1772813114,    "approval_progress": "1/2",    "initiated_by": "maria@acme.example",    "approved_by": [      "jon@acme.example"    ],    "rejected_by": null  }}
🍪 We do not track your behaviour or use any cookie on this site.