POST Reload Gift Card
Tops up a gift card the customer has saved on their account, charging the reload through the payment processor and returning the new balance.
amount is in minor currency units, minimum 1 and maximum 50000.
To read a gift card's current balance without topping it up, use GET /customer-accounts/{customer_account_id}/gift-cards/{stored_payment_method_id}.
Path Parameters
- Type: integercustomer
_account _id requiredCustomer account ID. Must match the signed-in customer.
- Type: stringstored
_payment _method _id requiredThe stored payment method identifying the gift card
Headers
- Type: stringAcceptrequired
Type of content accepted by the API (application/json in most cases)
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringContent
- Type requiredContent-Type header
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringAuthorization
Authorization header
- Type: stringX
- Request - I D requiredUnique request identifier
Body
- Type: integeramountmin:1max:50000required
Amount to add, in minor currency units
Responses
- application/json
- 400
The stored payment method is not a gift card on this account, or the payment processor refused the reload.
- 401
Missing or invalid token, or the path account is not the signed-in account.
- 422
amountis missing, not an integer, or outside 1 to 50000.
curl https://api-public-demo.menu.app/api/customer-accounts/9031/gift-cards/b0566189-8b1d-456c-bd0b-fde59b4751aa/reload \
--request POST \
--header 'Accept: application/json' \
--header 'Application: application-key' \
--header 'Content-Type: application/json' \
--header 'API-VERSION: ' \
--header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
--data '{
"amount": 2500
}'
{
"status": "OK",
"code": 200,
"data": {
"gift_card": {
"stored_payment_method_id": 1234,
"masked_number": "XXXXXXXXXXXXXXX5899",
"last_four_digits": "5899",
"balance": 7500,
"expiration_date": "",
"created_at": "2026-06-01 13:40:58"
}
}
}The gift card with its new balance.
