Payments
Cancel a payment request
Cancels an unpaid payment request: the underlying payment intent is canceled and the request moves to canceled. A request that is already paid, canceled, or expired returns 409.
post/v3/payment_requests/{paymentRequestId}/cancel
Request
- Base URL: https://api.linqapp.com/api/partner
- URL: https://api.linqapp.com/api/partner/v3/payment_requests/{paymentRequestId}/cancel
- Auth: HTTP bearer
Path parameters
paymentRequestIdstring uuid required
Unique identifier of the payment request
Response
Payment request canceled
Example response
{
"object": "payment_request",
"amount": 497,
"currency": "usd",
"discount": {
"coupon": "LAUNCH50",
"promotion_code": "promo_1QAbCdEfGhIjKlMn",
"label": "15 OFF FIRST MONTH"
},
"stripe": {
"payment_intent_id": "pi_3QAbCdEfGhIjKlMn",
"customer_id": "cus_QAbCdEfGhIjKlMn",
"subscription_id": "sub_1QAbCdEfGhIjKlMn"
},
"checkout_url": "https://zero.linqapp.com/pay/tomo?session=tok_abc123"
}Changes
No recorded changes to this operation across all 1 revision of this API.