Sandbox Validated API
Live-tested endpoints validated against sandbox with Newman.
cURL
curl --request POST \ --url https://api-sandbox.y.uno/v1/customers/{customer_id}/payment-methods \ --header 'Content-Type: application/json' \ --data ' { "account_id": "YOUR_ACCOUNT_ID", "country": "US", "type": "CARD", "workflow": "DIRECT", "callback_url": "https://example.com/enrollment/callback", "verify": { "vault_on_success": true, "currency": "USD" } } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "VISA ****1111", "type": "<string>", "category": "<string>", "vaulted_token": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "ENROLLED", "card_data": { "iin": "<string>", "lfd": "<string>", "brand": "<string>", "issuer": "<string>", "fingerprint": "<string>" } }
ISO 3166-1 alpha-2 country code
AR
BO
BR
CL
CO
CR
EC
SV
GT
HN
MX
NI
PA
PY
PE
US
UY
CARD
NU_PAY_ENROLLMENT
DIRECT
Show child attributes
Payment method enrolled
"VISA ****1111"
ENROLLED
READY_TO_ENROLL
Was this page helpful?
Contact support