Returns a list of your payments, sorted by creation date with the most recent first.
Filters combine with AND, with one exception: payin_id and subscription_id are mutually exclusive and sending both returns 400.
The status filter accepts only in_progress, success, failed and action_required; any other value returns 400. That is not the same set of values a payment can come back with, and the filter does not map onto the response field one-for-one: a payment returned with status: under_review is matched by status=in_progress, and some payments returned with status: in_progress are not matched by status=in_progress at all. Treat the filter as a coarse narrowing and read status on each payment you get back.
compliance_status is a separate field with its own filter and moves independently of status. Most payments have no compliance status at all, so filtering on it will exclude them.
Filters on the payment's requested_currency / converted_currency — the currency the merchant asked for, which is also the currency of the order or payment link the payment belongs to. It does not filter on payment_currency, the currency the customer was actually charged in. Those two differ whenever local payments are in play: a card payment against a USD order is commonly charged to the customer in AED, and that payment matches USD, not AED. Matching is case-insensitive.
Return only resources created at or before this time. Send an ISO 8601 timestamp with an offset, such as 2025-02-18T12:03:44Z or 2025-02-18T17:33:44+05:30. A timestamp without an offset is read as UTC. A bare date (YYYY-MM-DD) means the end of that day in UTC (23:59:59.999999Z). An invalid value returns 400 Bad Request. Use this to avoid page drift. See Pagination parameters for more details.
Return only resources created at or after this time. Send an ISO 8601 timestamp with an offset, such as 2025-01-18T12:03:44Z or 2025-01-18T17:33:44+05:30. A timestamp without an offset is read as UTC. A bare date (YYYY-MM-DD) means the start of that day in UTC (00:00:00Z). An invalid value returns 400 Bad Request. Use this to avoid page drift. See Pagination parameters for more details.
- Production serverhttps://api.glomopay.com/api/v1/payment
curl -i -X GET \
'https://api.glomopay.com/api/v1/payment?customer_id=cust_E602sMzgjpDC&status=success&compliance_status=approved&payin_id=plink_E602dMzgjpDC&payment_type=add_funds&subscription_id=sub_68877570b5zeE¤cy=USD&request_id=unique_request_id_123&before=2025-02-18T12%3A03%3A44Z&after=2025-01-18T12%3A03%3A44Z&per_page=20&page=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "data": [ { … } ], "page_meta": { "current": 2, "previous": 1, "next": 3, "per_page": 20, "pages": 10, "count": 200 } }