v1

latestOpenAPI 3.0.3Apache 2.02026-07-13121230447.8 KB
Wallet

Top-up wallet for an account

Top-up wallet for an account

post/accounts/{account_id}/wallet_topup

Path parameters

account_idstring required
Example:ACC00001

account_id corresponding to an account

Request body

topupAmountnumber required

Response

Response for Credit Balance Request

idstring required
accountIdstring required
customerIdstring required
balancenumber required

This amount is the difference of total credited amount and sum of consumed, hold amount. ie. credit amount - (consumed amount + hold amount)

creditUnitstring required
externalIdstring
status'ACTIVE' | 'INACTIVE' required
holdAmountnumber
effectiveFromstring date-time required
createdAtstring date-time
updatedAtstring date-time
metadataobject

Example response

{
  "accountId": "ACC001",
  "customerId": "ACC001",
  "balance": 500,
  "creditUnit": "USD",
  "holdAmount": 500
}