Skip to main content
POST
Create a new credit grant for a wallet. Credit grants represent individual credit additions with optional expiration.
wallet_id
string
required
The wallet ID to grant credits to.
amount
string
required
Amount to grant as a decimal string (e.g., “100.00”).
description
string
Optional description of the credit grant.
expires_at
string
Optional ISO 8601 expiration date. Credits expire and become unavailable after this date.
payment_id
string
Optional payment ID if the grant is tied to a payment.
id
string
Unique identifier for the credit grant.
wallet_id
string
The wallet this grant belongs to.
amount
string
Grant amount as a decimal string.
description
string
Description of the grant.
expires_at
string
ISO 8601 expiration date, if set.
payment_id
string
Associated payment ID, if any.
status
string
Grant status: active, approved, pending, exhausted, expired, or voided.
created_at
string
ISO 8601 timestamp of creation.
updated_at
string
ISO 8601 timestamp of last update.