API reference / Withdrawals
List withdrawals
/v1/withdrawals Read your withdrawals. You create withdrawals in the dashboard, because each one needs a fresh code from a person’s authenticator app. You can also turn on automatic withdrawals in the dashboard’s settings: once a day, Weav withdraws your available balance to your payout account.
To find one withdrawal by any of its numbers, pass reference to the list. It matches reference_id, provider_reference_id or channel_reference_id exactly.
Query parameters
per_pageintegerItems per page, 25 by default; values above 100 become 100.At least 1Default: 25cursorstringThenext_cursororprev_cursorfrom the previous page.Up to 1024 charactersdate_fromstring (date)Start date (Asia/Manila), inclusive. Send withdate_to.date_tostring (date)End date (Asia/Manila), inclusive.referencestringExact match onreference_id,provider_reference_idorchannel_reference_id.Up to 64 characters
Headers
AuthorizationstringRequiredBearerplus your API key. See Authentication.
Responses
200 OK
A page of withdrawals.
What data holds
withdrawalsarray of objects15 fields in
withdrawalsreference_idstringcurrencystringISO 4217. PHP today; more as they're enabled for your account.One of:PHPamountnumberfeenumber | nulltotalnumber | nullamountplusfee.statusstringPENDING,FOR_SETTLEMENT,COMPLETEDorFAILED.One of:PENDINGFOR_SETTLEMENTCOMPLETEDFAILEDrailstring | nullINSTAPAY (real time) for 50,000.00 or less; PESONET (batch, not real time) above that, or when the bank isn't on InstaPay. Null for withdrawals made before rails were recorded.One of:INSTAPAYPESONETprovider_reference_idstring | nullThe bank partner's transfer reference. Null until known.channel_reference_idstring | nullThe InstaPay or PESONet reference. Null until known.destinationobjectbank_name,account_name,account_number_last4. Never the full account number.3 fields in
destinationbank_namestringaccount_namestringaccount_number_last4string
failureobject | nullcodeandmessagewhen the withdrawal failed.codecan be null.2 fields in
failurecodestring | nullmessagestring
requested_atstring (date-time)completed_atstring (date-time) | nullfailed_atstring (date-time) | nullupdated_atstring (date-time)
paginationobject4 fields in
paginationper_pageintegerRequirednext_cursorstring | nullRequiredprev_cursorstring | nullRequiredis_last_pagebooleanRequired
401 Unauthorized
Missing, malformed or unknown API key (code 4010000).
403 Forbidden
The key can't make this request (code 4030000): an address outside the key's IP allowlist, a live key before your live mode is on, or an account that isn't active. A live key sent from a browser is refused (code 4030001): keep live keys on your server.