Retrieve updated card details
Standalone Account Updater Operations
Retrieve updated card details
Retrieve updated card credentials.
The following card schemes are supported:
The source to update. You must provide either card or instrument object, but not both.
Unauthorized
Not authorized to perform this action
Not Found
Internal Server Error
Bad Gateway error
curl 'https://{prefix}.api.sandbox.checkout.com/account-updater/cards' \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"source_options": {
"card": {
"number": "5436424242424242",
"expiry_month": 5,
"expiry_year": 2025
}
}
}'
{
"account_update_status": "CARD_UPDATED",
"card": {
"encrypted_card_number": "3nCryp73dFPANv4lu3",
"bin": "543642",
"last4": "4242",
"expiry_month": 5,
"expiry_year": 2025,
"fingerprint": "abc123fingerprint"
}
}