Quote a Payment
POST/v1/payments/quote
Prices the body of a Payment without creating it: the lines at the prices Voucherly resolves, the delivery fee and the coupons passed by couponCode in discounts. Use it to show the customer the total the Payment will have before it is created. A coupon that does not apply answers the same 400 as Create a Payment.
Request
Responses
- 200
- 400
- 404
Returns the amounts, the lines and the discounts the Payment would have.
The request was unacceptable, often due to missing a required parameter.
Something the request points to doesn't exist, or belongs to another merchant. parameter names it.