Request a wallet top-up
POST
/portal/wallet/{wallet_id}/top_up
Top up a customer’s wallet with credits.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” wallet_id
required
Wallet Id
string format: uuid
Query Parameters
Section titled “Query Parameters ” token
required
Token
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
PortalTopUpResponse
object
wallet_id
required
Wallet Id
string format: uuid
credits_added
required
Credits Added
string
new_balance_cents
required
New Balance Cents
string
new_credits_balance
required
New Credits Balance
string
Wallet is not active or invalid credits
Invalid or expired portal token
Wallet not found
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context