{ "success": false, "error": { "status": 401, "code": "UNAUTHORISED", "message": "Invalid or missing authentication" }, "data": null }
List all customers
curl -X GET "https://api.transaction.gg/merchant/customer/list?page=1&limit=10&search=john" \ -H "Authorization: Bearer jwt_token"
{ "success": true, "data": { "customers": [ { "id": "cus_V6n6SN2KnsIFCuQU", "email": "[email protected]", "metadata": { "name": "John Doe", "phone": "+1234567890" }, "createdAt": "2024-01-01T00:00:00Z" } ], "pagination": { "page": 1, "limit": 10, "total": 1 } } }