Add a balance or payment transfer
Creates a completed incoming transfer by default — used both for adding points balance and for recording a credit-wallet payment. Pass state: pending for a credit payment awaiting confirmation.
POST
/wallets/{wallet_id}/transfersAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
wallet_idintegerrequiredRequest body
requiredapplication/jsonamountintegerrequiredPositive integer amount to add.
descriptionstringrequiredreference_codestringpayment_methodstringshop_idstringstatestringdefault: "completed"
Allowed:
pendingcompletedResponses
201
Transfer created
_linksHalLinksidintegerdirectionstringAllowed:
incomingoutgoingstatestringAllowed:
pendingcompletedreverseddeletedexpiredamountintegerPositive for incoming transfers, negative for outgoing.
original_amountintegerOrder total that earned this transfer, for points earned from a purchase.
descriptionstringreference_codestringpayment_methodstringshop_idstringwallet_idintegerbalance_expires_atstring<date-time>created_onstring<date-time>422
Invalid transfer (e.g. insufficient balance for an outgoing amount)