Authorizations
Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.
Body
External reference to the customer
"client-xyz456"
Currency in which the wallet operates Currency code in ISO 4217 format.
3
"USD"
Cost rate per credit unit, must be non zero positive value
"1.5"
Name of the wallet
"Prepaid Wallet"
Number of paid credits to initialize, must be positive value
"10.0"
Number of granted credits to initialize, must be positive value
"5.0"
Cancelled date of the subscription Date and time in ISO 8601 format.
"2023-10-01T12:00:00Z"
Indicates whether the prepaid credit applies to the entire invoice or only to specific line items.
List of recurring transaction rules for automatic top-ups
Response
Wallet created successfully
External system reference to the customer
"client-12345"
Current status of the wallet
ACTIVE
, TERMINATED
, PENDING
"ACTIVE"
Price charged per credit unit
"1.5"
The ongoing usage of the wallet, and it reflects all current usage and draft invoices including taxes.
{ "value": 100, "currency_code": "USD" }
This represents the real-time balance after accounting for current usage,.
{ "value": 50, "currency_code": "USD" }
Human-readable wallet name
"Prepaid Wallet"
Current credit balance available
"28.0"
This reflects all current usage and draft invoices.
"10.0"
This represents the real time balance after accounting for current usage.
"18.0"
Total credits consumed so far
"2.0"
Date and time when the wallet was created, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC). Date and time in ISO 8601 format.
"2023-10-01T12:00:00Z"
Date and time when the wallet is set to expire, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC). Date and time in ISO 8601 format.
"2023-10-01T12:00:00Z"
Date and time when the wallet was terminated, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC). Date and time in ISO 8601 format.
"2023-10-01T12:00:00Z"
Indicates whether the prepaid credit applies to the entire invoice or only to specific line items.
List of recurring transaction rules for automatic top-ups
Unique identifier for the wallet
"1a901a90-1a90-1a90-1a90-1a901a901a90"