Reserve an amount on a gift card.
General: 'extra parameters, reserveamount' for test or set the amount to be used with gift card.
Success
Bad Request
Key: BasketItemNotBuyable. Gets raised when the basket item is not buyable or when it is inactive.
Key: BasketItemQuantityLessThanZero. Gets raised when the basket item quantity is less than zero.
Key: DeliveryAddressMissing. Gets raised when the delivery address does not exist.
Key: InvalidCompanyOnBasket. Gets raised when the basket has an invalid company. The customer does not exist in this company.
Key: InvalidCurrencyOnCard. Gets raised when the gift card has another currency than the basket
Key: PaymentFailed. Gets raised when the payment fails.
Key: QuotationMissing. Gets raised when the basket is missing.
Key: BasketContainsSomeUnbuyableItems. Gets raised when the basket has some unbuyable items.
Key: BasketContainsNoBuyableItems. Gets raised when the basket does not have any buyable items.
Internal Server Error
[- {
- "Name": "string",
- "Value": "string"
}
]
{- "Status": "string",
- "StatusDescription": "string",
- "BasketId": 0,
- "OrderNo": "string",
- "PaymentCode": "string",
- "PaymentReference": "string",
- "HostedPaymentPage": "string",
- "RedirectUrl": "string",
- "RedirectParameters": [
- {
- "Name": "string",
- "Value": "string"
}
], - "IsSyncronous": true,
- "PaymentServiceId": 0
}