curl --request GET \
--url https://api.paygentic.io/v0/wallets/{walletId}/topups/{topupId} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "topup",
"walletId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "pending",
"updatedAt": "2023-11-07T05:31:56Z",
"amount": "<string>",
"currency": "<string>",
"method": "stripe",
"payload": {},
"isAutoTopup": true
}
curl --request GET \
--url https://api.paygentic.io/v0/wallets/{walletId}/topups/{topupId} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "topup",
"walletId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "pending",
"updatedAt": "2023-11-07T05:31:56Z",
"amount": "<string>",
"currency": "<string>",
"method": "stripe",
"payload": {},
"isAutoTopup": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the wallet the topup belongs to
ID of the topup to retrieve
Topup details
The response is of type object
.