Complete a card authorization
Completes a single-use card authorization link with the card the card page has just stored: the body names that card (paymentMethodId) and echoes the exact statement the page showed, which must still be the link's. No card number travels on this route. Whoever holds the link may complete it: its capability travels as Authorization: PaymentLink <token> or X-Payment-Link-Token, and a link for a personal card also needs its owner signed in. The card is then authorized to whom the link names (the advisor who made it, its trip, or its owner), and the answer is COMPLETED with the card's paymentMethodId. Requires an Idempotency-Key. Errors: 401 ERROR_AUTHENTICATION_REQUIRED without a capability; 409 COMMERCE_PAYMENT_METHOD_CONSENT_CHANGED when the statement changed since the page showed it; 409 COMMERCE_PAYMENT_METHOD_LINK_CONSUMED for a link already completed with another card.
Authorization
Header parameters
Request body JSON required
Returns
200
OK
One of the following:
- object
- object
- object
- object