Skip to main content

Withdrawal Banks

Get withdrawal count grouped by destination bank for a given period.

info

This endpoint is only available in production.

Base URL: https://api-pix.crypto2pay.app/v2/metrics/withdrawals/banks

Endpoint

GET /v2/metrics/withdrawals/banks

Query Parameters

ParameterTypeRequiredDescription
startstringrequiredStart datetime in YYYY-MM-DD HH:MM:SS format
endstringrequiredEnd datetime in YYYY-MM-DD HH:MM:SS format

Example Request

curl -X GET "https://api-pix.crypto2pay.app/v2/metrics/withdrawals/banks?start=2026-08-01%2000%3A00%3A00&end=2026-08-04%2023%3A59%3A59" \
-H "Authorization: YOUR_API_KEY"

Example Response

[
{
"count": 3456,
"ispb": "18236120",
"bank_name": "NU PAGAMENTOS - IP"
},
{
"count": 2891,
"ispb": "22896431",
"bank_name": "PICPAY"
},
{
"count": 2234,
"ispb": "00360305",
"bank_name": "CAIXA ECONOMICA FEDERAL"
}
]

Response Fields

FieldTypeDescription
countnumberNumber of withdrawals to this bank
ispbstringISPB code identifying the bank
bank_namestringFull name of the destination bank
note

Results are sorted by count in descending order.