cURL
curl --request GET \ --url https://api.suby.fi/api/customer/{customerId} \ --header 'X-Suby-Api-Key: <api-key>'
{ "success": true, "data": { "id": "<string>", "email": "jsmith@example.com", "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "payments": [ { "id": "<string>", "status": "<string>", "productId": "<string>", "method": "<string>", "currency": "<string>", "amount": "<string>", "decimals": 123, "valueUsd": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ], "pagination": { "page": 1, "limit": 25, "total": 42, "totalPages": 2 } } }
API key authentication
Page number (starts at 1)
x >= 1
Results per page (max 25)
1 <= x <= 25
Customer details
true
Show child attributes