Skip to main content

List Withdrawals

Use this route to list withdrawals for your account or a specific partner, filtered by a date range.

Unlike Get Withdrawal, this route does not return the transactions that compose each withdrawal.

Important

This route requires prior enablement by Marlim. Contact our support team for more information.

GETv3/financial/withdrawals

Request Query Params​

AttributeTypeDescription
sub_seller_idstringPartner ID whose withdrawals will be listed. When omitted, the query returns withdrawals for the seller account.
date_startdateStart of the range in YYYY-MM-DD. Default: 7 days before date_end (today, Brasília time).
date_enddateEnd of the range in YYYY-MM-DD. Default: today (Brasília time). Must be greater than or equal to date_start.
pageint32Page number. Default: 1. Minimum: 1.
page_sizeint32Items per page. Default: 20. Minimum: 1. Maximum: 100.
Maximum range

The interval between date_start and date_end cannot exceed 180 days.

Response Object​

AttributeTypeDescription
withdrawalsarrayWithdrawals in the requested range.
withdrawals[][withdrawal_id]stringWithdrawal ID.
withdrawals[][amount]int32Withdrawal amount in cents.
withdrawals[][status]stringCurrent status. Possible values: processing, transferred.
withdrawals[][date_created]dateTimeWithdrawal creation date in ISODateTime format.
withdrawals[][date_updated]dateTimeLast update date in ISODateTime format.
Example Response
{
"withdrawals": [
{
"withdrawal_id": "withdrawal_1234567890",
"amount": 10000,
"status": "processing",
"date_created": "2026-08-20T14:30:00.000Z",
"date_updated": "2026-08-20T14:30:00.000Z"
}
]
}

Error Object​

AttributeTypeDescription
errorsarrayArray with all errors found while processing the request.
errors[][type]stringType of error that occurred.
errors[][message]stringDetailed message of the error that occurred.
Example error
{
"errors": [
{
"type": "not_found",
"message": "Sub Seller with id [sub_123456789] was not found"
}
]
}

Examples​

ATTENTION

The values used in the examples below are for illustration only and must not be used to make requests to Marlim APIs.

Request
curl -X GET -G "https://api.marlim.co/v3/financial/withdrawals" \
-H "Content-Type: application/json" \
-H "api_key: api_key_value" \
-d date_start="2026-08-14" \
-d date_end="2026-08-20"
Response200
{
"withdrawals": [
{
"withdrawal_id": "withdrawal_1234567890",
"amount": 10000,
"status": "processing",
"date_created": "2026-08-20T14:30:00.000Z",
"date_updated": "2026-08-20T14:30:00.000Z"
}
]
}