cURL
curl --request PATCH \ --url https://api.enterprise.sandbox.uphold.com/core/external-accounts/{externalAccountId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "label": "My new VISA card" } '
{ "externalAccount": { "id": "aa6e6efa-8d73-497c-8278-0347f459bd68", "ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d", "type": "card", "status": "ok", "label": "My new VISA card", "asset": "GBP", "network": "visa", "features": [ "deposit", "withdraw" ], "details": { "type": "debit", "last4Digits": "1519", "expiryDate": { "month": 12, "year": 2030 }, "octSupport": "supported" }, "createdAt": "2024-06-01T00:00:00Z", "updatedAt": "2024-07-15T00:00:00Z" } }
Update an external account for the user.
OAuth 2.0 authentication.
The external account identifier.
The label of the external account.
140
External account updated.
Show child attributes
Was this page helpful?