v1

latestOpenAPI 3.0.02026-08-04620256.0 KB
Card

Adjust Card Balance

put/cards/{cardId}/credit

Path parameters

cardIdstring uuid required

The unique identifier of the card that you want to adjust its balance.

Headers

Accept-Versionstring required

Specifies the API version to use for this request.

Request body

adjustmentstring required

Specifies the amount to adjust the card’s balance.

Positive values increase the availableBalance, raising its spending power.

Negative values decrease the availableBalance, reducing its spending power.

Note: The amount should be denominated in the card’s currency, either HKD or USD.

Response

Returns the card balance before and after the balance adjustment.

creditBeforestring required

The card balance associated with the specified cardId before the adjustment was made.

creditAfterstring required

The card balance associated with the specified cardId after the adjustment.