Enroll Payment Method
Enrolls a customer’s payment method and returns a vaulted token for future use
X-Idempotency-Key. Check the Authentication page for more information.
vaulted_token. Use the card fingerprint in the enrollment response to detect duplicates on your side (the fingerprint may be null for some providers). See Card Fingerprint.
Authorizations
Path Parameters
The unique identifier of the customer, created using the Create Customer endpoint (MAX 64; MIN 36).
Body
The unique identifier of the account. You find this information on Yuno's Dashboard (MAX 64; MIN 36).
The transaction's country code (MAX 2; MIN 2; ISO 3166-1).
AR, BO, BR, CL, CO, CR, EC, SV, GT, HN, MX, NI, PA, PY, PE, US, UY The payment method type (MAX 255; MIN 3; Payment type).
CARD, ACH_ENROLLMENT, NU_PAY_ENROLLMENT, SEPA_ENROLLMENT Optional custom key–value tags for the enrollment (e.g., on_behalf_of, order_ref). Opaque to Yuno: it is stored with the enrolled payment method, returned when you retrieve it and on the enrollment.enroll webhook, and sent to the provider integration with the enrollment, the same way payment metadata reaches it on a charge. The reserved gateway_options entry is the exception: it is stored and returned, but it is not forwarded with the enrollment. Up to 120 items and 75000 characters in total, counting every key and value.
Response
201
- Option 1
- With Verify