Get a card authorization link
GET
https://api.nicer.travel/commerce/payment-methods/card-link
Reads a live card authorization link before the card page shows consent: the exact statement the person accepts, when the link expires, and what completing it grants. Whoever holds the link may read it: its capability travels as Authorization: PaymentLink <token> or X-Payment-Link-Token, as on the completing route, and a signed-in caller changes nothing. Errors: 401 ERROR_AUTHENTICATION_REQUIRED without a capability; 404 COMMERCE_PAYMENT_METHOD_LINK_NOT_FOUND for a link that is missing, expired or revoked, or whose advisor is no longer an active advisor of the agency.
Authorization
Returns
200
OK
JSON
- expiresAtstringrequired
When the link stops working.
format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$