post
https://api.inflowpay.com/api/server/payment//coupon
Applies a coupon to a pending payment before confirmation. Only for payments created without a payment method (confirmed later through the SDK): a payment created with useCustomerPaymentMethod or card details collects at creation and takes its coupon through couponCode on creation instead (COUPON_MUST_BE_PASSED_AT_CREATION). The coupon system (one-time vs subscription) is auto-detected from the payment; applying a coupon of the wrong type returns an error. The payment amount is reduced so the discounted total is charged at confirmation.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
