Skip to main content

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​

Returns the amounts, the lines and the discounts the Payment would have.