Skip to main content
POST
/
v1
/
funding-accounts
/
{id}
/
disable
Disable a funding account
curl --request POST \
  --url https://api.daya.co/v1/funding-accounts/{id}/disable \
  --header 'X-Api-Key: <x-api-key>' \
  --header 'X-Idempotency-Key: <x-idempotency-key>'

Overview

Disable an active funding account. Already disabled accounts return the current resource without emitting another funding_account.disabled webhook.

Authentication

X-Api-Key
string
required
Your merchant API key
X-Idempotency-Key
string
required
Unique idempotency key for request deduplication

Path Parameters

id
string
required
Funding account ID.

Request Example

curl --request POST \
  --url https://api.daya.co/v1/funding-accounts/750e8400-e29b-41d4-a716-446655440000/disable \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'X-Idempotency-Key: disable-funding-account-001'

Response

Returns the funding account object with status: DISABLED.