GET
/
wallets
/
{walletId}
/
topups
/
{topupId}
curl --request GET \
  --url https://api.sulu.sh/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": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

walletId
string
required

ID of the wallet the topup belongs to

topupId
string
required

ID of the topup to retrieve

Response

200
application/json
Topup details

The response is of type object.