Attach a Buyer to an In-person Payment
Attaches the buyer’s email address to an in-person payment after the card was tapped. When the payment is paid, Whop sends its order confirmation email to the buyer. When the email belongs to a Whop account, the payment and any membership move to that account. Otherwise the anonymous in-person customer takes the email, and a membership sends its membership.activated webhook again. The request is refused for a payment taken online, and for a payment that the buyer’s card already linked to their Whop account. A retry with the same Idempotency-Key returns the first response. A retry with a new key sends the email again.
Authorizations
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Body
Response
Buyer attached
What the buyer must do next while status is requires_action, otherwise null. type picks the shape and each variant carries only its own data, so switching on type gives you exactly that step's payload. The collect_card_present step is served only to a credential holding payment:charge on the account; any other reader sees null while the tap is outstanding.
- Redirect
- Display instructions
- Await confirmation
- Collect card present
How far the payment has got. requires_confirmation — nothing attempted yet, or the last attempt failed and can be retried. requires_action — the buyer has a step outstanding; see next_action. requires_capture — the card authorization is holding funds and must be captured. confirming — the buyer has done their part and the processor is deciding. processing — with processing_details, the money is moving; without them, the charge is still being decided and the status should be read again. succeeded — collected. canceled — voided or written off.
requires_confirmation, requires_action, requires_capture, confirming, processing, succeeded, canceled "succeeded"

