Skip to main content
GET
/
v1
/
merchant
/
withdrawals
List withdrawals
curl --request GET \
  --url https://api.daya.co/v1/merchant/withdrawals \
  --header 'X-Api-Key: <x-api-key>'
{
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "amount_usd": "12.3400",
      "fee_usd": "0.50",
      "token": "USDC",
      "chain": "SOLANA",
      "destination_address": "4vJ9JU1bJJE96FWSJN",
      "status": "SETTLED",
      "provider_tx_id": "transactions/abc123",
      "tx_hash": "4D5uX4exampleTxHash",
      "created_at": "2026-03-10T09:00:00Z",
      "submitted_at": "2026-03-10T09:01:00Z",
      "settled_at": "2026-03-10T09:03:00Z",
      "updated_at": "2026-03-10T09:03:00Z"
    }
  ],
  "page": 1,
  "limit": 50,
  "total": 1,
  "total_pages": 1
}

Overview

Returns merchant withdrawal history for the authenticated merchant. Withdrawals draw from the withdrawal balance only — if the needed funds are still in the collection balance, use POST /v1/merchant/balance/transfer to move them first. Use this endpoint to track pending, submitted, settled, or failed withdrawals and to paginate through historical activity.

Authentication

X-Api-Key
string
required
Your merchant API key

Query Parameters

limit
integer
Number of results per page.Default: 50
page
integer
Page number to retrieve.Default: 1
status
string
Filter by withdrawal status.Allowed values: PENDING, SUBMITTED, SETTLED, FAILED

Request Examples

curl --request GET \
  --url 'https://api.daya.co/v1/merchant/withdrawals?status=SETTLED&limit=20' \
  --header 'X-Api-Key: YOUR_API_KEY'

Response

data
array
Withdrawal records matching the current filter.
page
integer
required
Current page number.
limit
integer
required
Results per page.
total
integer
required
Total number of withdrawals matching filters.
total_pages
integer
required
Total number of pages available.

Success Response

{
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "amount_usd": "12.3400",
      "fee_usd": "0.50",
      "token": "USDC",
      "chain": "SOLANA",
      "destination_address": "4vJ9JU1bJJE96FWSJN",
      "status": "SETTLED",
      "provider_tx_id": "transactions/abc123",
      "tx_hash": "4D5uX4exampleTxHash",
      "created_at": "2026-03-10T09:00:00Z",
      "submitted_at": "2026-03-10T09:01:00Z",
      "settled_at": "2026-03-10T09:03:00Z",
      "updated_at": "2026-03-10T09:03:00Z"
    }
  ],
  "page": 1,
  "limit": 50,
  "total": 1,
  "total_pages": 1
}

Error Responses

This endpoint may return:
  • 400: Invalid query parameters
  • 401: Unauthorized
  • 500: Internal server error

Next Steps

Get Withdrawal

Retrieve a single withdrawal by ID

Create Withdrawal

Initiate a new merchant balance withdrawal