curl --request POST \
--url https://api.enterprise.sandbox.uphold.com/core/external-accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "card",
"label": "My Visa Card",
"number": "4111111111111111",
"securityCode": "123",
"expiryDate": {
"month": 12,
"year": 2030
}
}
'