API reference / Checkouts
List checkouts
GET
/v1/checkouts Your checkouts in this mode, newest first, with cursor pagination.
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.statusstringOnly checkouts with this status.OPEN,COMPLETED,EXPIREDorCANCELLED.One of:OPENCOMPLETEDEXPIREDCANCELLEDexternal_reference_idstringUp to 64 characters
Headers
AuthorizationstringRequiredBearerplus your API key. See Authentication.
Responses
200 OK
Your checkouts in this mode, newest first.
What data holds
checkoutsarray of objects23 fields in
checkoutsreference_idstringexternal_reference_idstring | nulltypestringOne of:ORDERAMOUNTstatusstringOne of:OPENCOMPLETEDEXPIREDCANCELLEDcurrencystringISO 4217. PHP today; more as they're enabled for your account.One of:PHPamountnumberThe total, in pesos.descriptionstring | nullitemsarray of objects4 fields in
itemsnamestringRequiredUp to 255 charactersquantityintegerRequiredAt least 1At most 9999unit_amountnumberRequiredPesos, as a JSON number.amountnumberquantity×unit_amount.
channelsarray of strings | nullOne of:QR_PHGCASHMAYACARDPAY_AND_GOPALAWANPAYBAYADqr_ph_appsarray of strings | nullcustomerobject4 fields in
customeridstring | nullYour ID for the customer, withsave_payment_method.namestring | nullemailstring | nullmobile_nostring | null
save_payment_methodbooleanA card payment also saves the card (the payment'spayment_method_id).checkout_urlstring (uri)success_urlstring | nullcancel_urlstring | nullwebhook_urlstring | nullpaymentanyThe payment that paid it.expires_atstring (date-time)completed_atstring (date-time) | nullexpired_atstring (date-time) | nullcancelled_atstring (date-time) | nullcreated_atstring (date-time)updated_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.