{ "success": false, "error": { "status": 404, "code": "CUSTOMER_NOT_FOUND", "message": "Customer not found" }, "data": null }
Get customer details
curl -X GET "https://api.transaction.gg/merchant/customer/get?customerId=cus_V6n6SN2KnsIFCuQU" \ -H "Authorization: Bearer jwt_token"
{ "success": true, "data": { "id": "cus_V6n6SN2KnsIFCuQU", "email": "[email protected]", "metadata": { "name": "John Doe", "phone": "+1234567890" }, "createdAt": "2024-01-01T00:00:00Z" } }