Fetch Payment Collection
Get details of a specific payment by its ID
GET
https://api.spotflow.co/api/v1/payments/:payment-id
Headers
authorization |
|
---|
Path Parameters
payment-id int32
This is the unique ID
generated upon payment creation to track and reference the transaction that you want to fetch
Sample Response
200 OK
{
"id": "c6f09813-ba29-4a10-95ea-d826222c57d6",
"reference": "ref-b6e299d6-2220-40e3-b0bf-8018f09baf61",
"spotflowReference": "SPF-FLW-d5e80bfa65a443389bb9d2e51c365a85",
"amount": 10.00,
"currency": "USD",
"localAmount": 15030.10,
"totalFees": 20.00,
"localCurrency": "NGN",
"channel": "card",
"status": "successful",
"customer": {
"id": "95e4a0fa-9fb2-4dd4-9c81-cf6f4dad04a3",
"email": "deborah+m@spotflow.one"
},
"providerMessage": "Approved successful",
"rate": 1503.01,
"region": "Nigeria",
"card": {
"type": "Mastercard",
"firstSix": "555556",
"lastFour": "1842"
},
"createdAt": "2025-02-21T15:45:48Z",
"metadata": {
"SubscriptionPlan": "MonthlyPass",
"productName": "Algo.ai"
}
}