GET
/
wallets
/
{walletId}
/
topups
/
{topupId}
Get a specific topup by ID
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
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

walletId
string
required

ID of the wallet the topup belongs to

topupId
string
required

ID of the topup to retrieve

Response

Topup details

id
string
required

Unique identifier for the topup

object
enum<string>
default:topup
required
Available options:
topup
walletId
string
required

ID of the wallet being topped up

createdAt
string<date-time>
required

Creation timestamp

status
enum<string>
required

Current status of the topup

Available options:
pending,
failed,
success,
cancelled
updatedAt
string<date-time>
required

Last update timestamp

amount
string
required

Amount to top up in the smallest currency unit

currency
string
required

Currency of the topup (same as wallet currency)

method
enum<string>
required

Payment method used for the topup

Available options:
stripe
payload
object

Method-specific payload data

isAutoTopup
boolean

Whether the topup was done as part of an automatic topup