Cancel a payment request
Cancel a request that has not been paid: its PaymentIntent is
canceled (in subscription mode, the first-period invoice is voided and
the incomplete Subscription canceled), the request moves to
canceled, every card that carries it changes in place, and your
agent gets payment.canceled. A request that is already succeeded,
canceled or expired, or that was paid before the cancel reached
Stripe, returns 409.
Authorizations
Bearer token authentication. Include your API token in the Authorization header.
Format: Authorization: Bearer <your-token>
Path Parameters
Response
The canceled payment request
payment_request A payment request's lifecycle. It leaves requested exactly once, and only on Stripe's word or your cancel.
requested, succeeded, canceled, expired payment, subscription What the person is charged at checkout, in minor units. In subscription mode, what the first period costs after any discount.
What is being paid for, the same three values as PayPal Orders v2 items[].category (PHYSICAL_GOODS, DIGITAL_GOODS, DONATION; developer.paypal.com/docs/api/orders/v2/). The App Store Review Guidelines (developer.apple.com/app-store/review/guidelines/) decide where each can be paid:
physical_goods: physical goods, and services used in the real world, such as a haircut or a ride (3.1.3(e)). Payable anywhere.digital_goods: anything used in an app or online. A person pays by opening the link in Safari, and only on the United States storefront (3.1.1(a)); sending one to a person whose devices report only other storefronts returns 422 (error code2006). A tip to an agent or a creator isdigital_goods(3.1.1: tips to digital content providers use In-App Purchase).donation: money for a charity or a fundraiser. Collected outside the app, on any storefront (3.2.2(iv): such apps "may only collect funds outside of the app, such as via Safari…").
physical_goods, digital_goods, donation Relay's pay page for this request, https://pay.relayapp.im/<token>. Anyone holding it can pay the request. Send it back unchanged in a payment part.
When the request stops accepting payment and moves to expired, 23 hours after it was created.
The ids of the Stripe objects on your connected account, your join keys into your own Stripe Dashboard, API and webhooks.
The product picture, on Relay's image host. Absent without one.
Subscription mode.
Subscription mode.
Subscription mode.
day, week, month, year Subscription mode.
Subscription mode only. One coupon or one promotion code from your connected Stripe account, never both.
Absent until the request succeeds.

