v1
latestOpenAPI 3.0.02026-07-24103118224.7 KBPayment
Remove the coupon applied to a payment
Removes the coupon previously applied to a pending payment and restores the original amount. Routes to the same coupon system as the apply endpoint.
delete/api/server/payment/{paymentId}/coupon
Path parameters
paymentIdstring required
Example:pay_1234567890abcdef
Unique identifier of the payment to remove the coupon from
Response
Remove the coupon applied to a payment successful
Example response
{
"paymentId": "pay_1234567890",
"paymentType": "ONE_TIME",
"status": "INITIATION",
"amount": 9000,
"amountTaxesIncluded": 10800,
"currency": "EUR",
"couponDiscountInCents": 1000,
"coupon": {
"code": "SAVE10",
"discountType": "PERCENTAGE",
"discountAmountInCents": 1000,
"finalAmountInCents": 9000
}
}