Settle a pay link with a closed AP2 Payment Mandate
Settles a mag3nt pay link by consuming a closed AP2 Payment Mandate (mandate.payment.1). The mandate is verified for signature, expiry, and payee scoping against the link; if an open mandate is supplied, the open→closed chain is re-verified. The payer card named by the mandate is authenticated via its card token, then the payer card is debited and the link credited atomically. Idempotent on the mandate jti (replay-safe).
Authorizations
API key prefixed with 'Bearer sx_live_...'
Body
Code of the pay link being settled.
"pl_a1b2c3d4"
Closed AP2 Payment Mandate (mandate.payment.1) as an SD-JWT.
Token of the payer card named by the mandate (authorizes the debit).
Optional open AP2 mandate; when present the open→closed chain is re-verified.
Response
Mandate already settled (idempotent replay)
"ALREADY_SETTLED"