Credit a wallet
Credits a wallet by the specified amount and records the transaction type, reference ID, and optional description on the ledger.
Authorizations
API key authentication. Pass your API key as a Bearer token.
Headers
2026-04-01 A unique string used to ensure the request is processed exactly once. If you retry a request with the same idempotency key within 24 hours, the original response is returned without re-executing the operation.
255"ik_a1b2c3d4e5f6"
Path Parameters
Unique identifier for the wallet
Body
Amount to credit or debit
Reference identifier for the transaction
"pay_01H3DEF"
Type of transaction
credit_grant, payment, refund, manual_debit "payment"
Description of the transaction
Response
Success
Whether the wallet is active
true
Timestamp when the wallet was created
"2026-04-01T10:00:00Z"
Currency code
"USD"
Current balance of the wallet
Identifier of the customer that owns this wallet
"cust_01H2ABC"
Unique identifier for the wallet
"wlt_01H1VECT"
Name of the wallet
"Main Wallet"
Timestamp when the wallet was last updated
"2026-04-01T12:30:00Z"
Product IDs that can be purchased with this wallet