Get gift card balance specifying amount of 100 EUR
POST {{baseUrl}}/paymentMethods/balance
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.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string | ||
Idempotency-Key
|
null | A unique identifier for the message with a maximum of 64 characters (we recommend a UUID). |
RESPONSES
status OK
{
"pspReference": "FKSPNCQ8HXSKGK82",
"resultCode": "NotEnoughBalance",
"balance": {
"currency": "EUR",
"value": 5000
}
} |
ENDPOINTS