Consume a tap intent
Uses an approved tap intent, once, and sends tap_intent.consumed. Call it from your server before you perform the action the person approved, with the action you are about to perform: it must equal the action the tap intent was opened with. It succeeds for one request, until use_by. Send an Idempotency-Key you have stored: a retry with the same key and the same secret key returns the consumed tap intent again with Idempotent-Replayed: true, also after use_by. Any other request gets tap_intent.already_consumed, with details.consumed_at, and must not act.
Authorizations
Use Authorization: Bearer end_sk_* for partner API keys (e.g. end_sk_AbCd_example_api_key).
Headers
Unique key that makes this request safe to retry. Replaying the key with the same body returns the original response with Idempotent-Replayed: true; replaying it with a different body returns 409 idempotency.key_conflict.
1 - 255"a1b2c3d4-0000-4000-8000-000000000000"
Path Parameters
^tapi_[0-9a-f]{32}$"tapi_3f9c1b7a2d4e4f60a1b2c3d4e5f60718"
Body
The action you are about to perform, from your own state. It must equal the action the tap intent was opened with: after the same trimming as at create, type and reference are compared byte for byte.
Response
The consumed tap intent.
pending until the person confirms. approved once they have: consume it by use_by. consumed once you have used the approval; it is used once. canceled ended without an approval. expired means nobody approved in time, or the approval was not consumed by use_by. consumed and canceled are final. Approving, canceling and consuming each send a webhook; expiring sends none.
pending, approved, consumed, canceled, expired own Whether the person must enter the code to confirm.
The tap the intent was approved with. Null until it is approved.
A tap must arrive by this time. The person can confirm for 10 minutes after their tap.
When the person approved. Kept on an approval that expired unused.
The approval can be consumed until this time: approved_at plus the use_within set at create. Null until approved.
When you consumed the approval. Null until then.

