Create a new wallet charge
Create a new wallet charge
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
charges. writeOAuthSub-Account TokenRequest
Body
App ID of the App
6578278e879ad2646715ba9cBilling Meter ID (you can find this on your app's pricing page)
680b97022b4a34420f5f9b93Event ID / Transaction ID on your server's side. This will help you maintain the reference of the event/transaction on your end that you charged the customer for.
evt_abc123User ID
user_abc123ID of the Sub-Account to be charged
ve9EPM428h8vShlRW1KTID of the Agency the Sub-account belongs to
company_abc123Description of the charge
Charge for sending 10 SMS messagesPrice per unit to charge
0.01Number of units to charge
10The timestamp when the event/transaction was performed. If blank, the billing timestamp will be set as the event time. ISO8601 Format.
2025-03-26T00:00:000ZResponse
Charge created successfully
Indicates whether the charge was created successfully
trueUnique identifier of the created charge
charge_123