Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST /paymentMethods/balance call and include the gift card's details inside a paymentMethod object.
Request
Header Params
Body Params application/json
Examples
Responses
🟢200OK - the request has succeeded.
application/json
Body
🟠400Bad Request - a problem reading or understanding the request.
🟠401Unauthorized - authentication required.
🟠403Forbidden - insufficient permissions to process the request.
🟠422Unprocessable Entity - a request validation error.
🔴500Internal Server Error - the server could not process the request.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/paymentMethods/balance' \
--header'Content-Type: application/json' \
--data-raw''