REST API
cURL
curl --request GET \ --url https://api.adullam.dev/v1/payments/search \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "pay_abc123", "status": "pending", "amount": 5000, "currency": "XOF", "customer_phone": "+22507987654", "customer_name": "KONE ADAMA", "channel": "orangeCI", "description": "Order #12345", "reference": "REF_ABC123", "ussd_reference": "MP240115.1030.A12345", "fees": 25, "net_amount": 4975, "metadata": { "order_id": "12345" }, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z", "completed_at": "2024-01-15T10:32:00Z", "failure_reason": null } ], "total_count": 15, "has_more": false }
Advanced search for payments
Use the access token obtained from /v1/auth/token
Search results
Show child attributes
15
false