Approve a waitlist entry
Changed onApproves a pending entry: charges the card the buyer saved when joining (or starts their subscription or payment plan), creates the order, grants access and emails the receipt. If the card is declined the entry is denied with failure_reason: payment_failed, the buyer is emailed, and the response is a 402 payment_failed error.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Response
The approved waitlist entry
The order made when the entry was approved and paid.
payment_failed when approval declined the saved card and denied the entry.
The buyer's answers to the price variant's form at checkout.
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
5 more changes in this revision
- warning