Skip to main content
PATCH
/
core
/
external-accounts
/
{externalAccountId}
Update external account
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": "<string>"
}
'
{
  "externalAccount": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "card",
    "status": "processing",
    "label": "<string>",
    "asset": "<string>",
    "features": [
      "withdraw"
    ],
    "details": {
      "last4Digits": "<string>",
      "expiryDate": {
        "month": 123,
        "year": 123
      },
      "octSupport": "unknown",
      "type": "credit"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "statusDetails": {
      "reason": "card-data-invalid"
    },
    "network": "<string>"
  }
}

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Path Parameters

externalAccountId
string<uuid>
required

The external account identifier.

Body

application/json
label
string

The label of the external account.

Maximum string length: 140

Response

External account updated.

externalAccount
object
required