Wallet

Top-up wallet for an account

Changed on

Top-up wallet for an account

post/accounts/{account_id}/wallet_topup

Request

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
}

Changes

    • warning

      added the new INACTIVE enum value to the response property for the response status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status

    • info

      endpoint added