Update a payment instrument
Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with inactive status, you can still update the balance account associated with the card.
The unique identifier of the payment instrument.
The unique identifier of the balance account associated with this payment instrument.
You can only change the balance account ID if the payment instrument has Requested or Inactive status.
Object that contains information about the card payment instrument.
Contains the card user's password and mobile phone number. This is required when you issue cards that can be used to make online payments within the EEA and the UK, or can be added to digital wallets. Refer to 3D Secure and digital wallets for more information.
The email address where the one-time password (OTP) is sent.
The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters.
-
Characters between a-z, A-Z, and 0-9
-
Special characters: äöüßÄÖÜ+-*/ç%()=?!~#'",;:$&à ùòâôûáúó
The phone number where the one-time password (OTP) is sent.
This object must have:
-
A
typeset to mobile. -
A
numberwith a valid country code. -
A
numberwith more than 4 digits, excluding the country code.
Make sure to verify that the card user owns the phone number.
The full phone number provided as a single string. For example, "0031 6 11 22 33 44", "+316/1122-3344",
or "(0031) 611223344".
Type of phone number. Possible values: Landline, Mobile.
The brand of the physical or the virtual card. Possible values: visa, mc.
The brand variant of the physical or the virtual card. For example, visadebit or mcprepaid.
Reach out to your Adyen contact to get the values relevant for your integration.
The name of the cardholder. Maximum length: 26 characters.
Contains information about the configuration profile for your cards. The configuration profile consists of settings required when creating a physical or a virtual card. You identify a configuration profile with its configurationProfileId.
When you provide this field in a request, you can override the settings of an existing configuration profile.
Reach out to your Adyen contact to get the values that you can send in this object.
The activation label attached to the card that contains the activation instructions.
This field overrides the activation label design ID defined in the card configuration profile.
Your app's URL, if you want to activate cards through your app. For example, my-app://ref1236a7d. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process.
Maximum length: 255 characters.
Overrides the shipment bulk address defined in the card configuration profile.
The name of the city.
The name of the company.
The two-character ISO-3166-1 alpha-2 country code. For example, US.
The email address.
The house number or name.
The full telephone number.
The postal code.
Maximum length:
-
5 digits for addresses in the US.
-
10 characters for all other countries.
The two-letter ISO 3166-2 state or province code.
Maximum length: 2 characters for addresses in the US.
The streetname of the house.
The unique identifier of the card image. This image is printed on the full front of the card.
The letter or packaging to which the card is attached.
This field overrides the carrier design ID defined in the card configuration profile.
The unique identifier of the carrier image. This image is printed on the letter to which the card is attached.
The unique identifier of the card configuration profile that contains the settings that are applied to the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment.
You can override some of the existing settings in the configuration profile by providing the corresponding fields in the configuration object. For example, send the shipmentMethod to override the logistics company defined in the card configuration profile.
The three-letter ISO-4217 currency code of the card. For example, EUR.
This field overrides the existing currency setting on the card configuration profile.
Overrides the envelope design ID defined in the card configuration profile.
Any additional material, such as marketing material, that is shipped together with the card.
This field overrides the insert design ID defined in the card configuration profile.
The two-letter ISO-639-1 language code of the card. For example, en.
The unique identifier of the logo image. This image is printed on the partial front of the card, for example, a logo on the upper right corner.
The letter on which the PIN of the card is printed.
This field overrides the PIN mailer design ID defined in the card configuration profile.
Print Line.
Text printed on the physical card below the cardholder name. You provide the value, which can be up to 26 characters.
The logistics company that ships the card.
This field overrides the logistics company defined in the card configuration profile.
The delivery contact (name and address) for physical card delivery.
The address of the contact.
The name of the city. Maximum length: 3000 characters.
The two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.
The number or name of the house. Maximum length: 3000 characters.
A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
The two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.
The e-mail address of the contact.
The phone number of the contact provided as a single string. It will be handled as a landline phone. Examples: "0031 6 11 22 33 44", "+316/1122-3344", "(0031) 611223344"
The name of the contact.
The first name.
The last name.
Personal data of the contact.
The date of birth of the person. The date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31).
An ID number of the person.
The nationality of the person represented by a two-character country code.
The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL').
The phone number of the contact.
The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, US or NL.
The phone number. The inclusion of the phone number country code is not necessary.
The type of the phone number. Possible values: Landline, Mobile, SIP, Fax.
The URL of the website of the contact.
The form factor of the card. Possible values: virtual, physical.
The 3DS configuration of the physical or the virtual card. Possible values: fullySupported, secureCorporate.
Reach out to your Adyen contact to get the values relevant for your integration.
Specifies how many times the card can be used. Possible values: singleUse, multiUse.
Reach out to your Adyen contact to determine the value relevant for your integration.
The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to Active by default. However, there can be exceptions for cards based on the card.formFactor and the issuingCountryCode. For example, when issuing physical cards in the US, the default status is Requested.
Possible values:
-
Active: The payment instrument is active and can be used to make payments.
-
Requested: The payment instrument has been requested. This state is applicable for physical cards.
-
Inactive: The payment instrument is inactive and cannot be used to make payments.
-
Suspended: The payment instrument is temporarily suspended and cannot be used to make payments.
-
Closed: The payment instrument is permanently closed. This action cannot be undone.
-
Stolen
-
Lost
Comment for the status of the payment instrument.
After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses
200 - OK
The request has succeeded.
additionalBankAccountIdentificationsarrayContains optional, additional business account details. Returned when you create a payment instrument with
typebankAccount.balanceAccountIdstringThe unique identifier of the balance account associated with the payment instrument.
bankAccountobjectContains the business account details. Returned when you create a payment instrument with
typebankAccount.accountNumberstringThe bank account number, without separators or whitespace.
accountTypestringThe bank account type.
Possible values: checking or savings. Defaults to checking.
branchNumberstringThe bank account branch number, without separators or whitespace
formFactorstringBusiness accounts with a
formFactorvalue of physical are business accounts issued under the central bank of that country. The default value is physical for NL, US, and UK business accounts.Adyen creates a local IBAN for business accounts when the
formFactorvalue is set to virtual. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.ibanstringThe international bank account number as defined in the ISO-13616 standard.
routingNumberstringThe routing number, without separators or whitespace.
sortCodestringThe sort code, without separators or whitespace.
typestringiban or usLocal or ukLocal
cardobjectContains information about the card payment instrument. Returned when you create a payment instrument with
typecard.authenticationobjectContains the card user's password and mobile phone number. This is required when you issue cards that can be used to make online payments within the EEA and the UK, or can be added to digital wallets. Refer to 3D Secure and digital wallets for more information.
emailstringThe email address where the one-time password (OTP) is sent.
passwordstringMin length: 1Max length: 30The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters.
-
Characters between a-z, A-Z, and 0-9
-
Special characters: äöüßÄÖÜ+-*/ç%()=?!~#'",;:$&à ùòâôûáúó
phoneobjectThe phone number where the one-time password (OTP) is sent.
This object must have:
-
A
typeset to mobile. -
A
numberwith a valid country code. -
A
numberwith more than 4 digits, excluding the country code.
Make sure to verify that the card user owns the phone number.
numberstringThe full phone number provided as a single string. For example, "0031 6 11 22 33 44", "+316/1122-3344",
or "(0031) 611223344".
typestringType of phone number. Possible values: Landline, Mobile.
binstringThe bank identification number (BIN) of the card number.
brandstringThe brand of the physical or the virtual card. Possible values: visa, mc.
brandVariantstringThe brand variant of the physical or the virtual card. For example, visadebit or mcprepaid.
Reach out to your Adyen contact to get the values relevant for your integration.
cardholderNamestringMax length: 26The name of the cardholder. Maximum length: 26 characters.
configurationobjectContains information about the configuration profile for your cards. The configuration profile consists of settings required when creating a physical or a virtual card. You identify a configuration profile with its
configurationProfileId.When you provide this field in a request, you can override the settings of an existing configuration profile.
Reach out to your Adyen contact to get the values that you can send in this object.
activationstringThe activation label attached to the card that contains the activation instructions.
This field overrides the activation label design ID defined in the card configuration profile.
activationUrlstringMax length: 255Your app's URL, if you want to activate cards through your app. For example, my-app://ref1236a7d. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process.
Maximum length: 255 characters.
bulkAddressobjectOverrides the shipment bulk address defined in the card configuration profile.
citystringThe name of the city.
companystringThe name of the company.
countrystringThe two-character ISO-3166-1 alpha-2 country code. For example, US.
emailstringThe email address.
houseNumberOrNamestringThe house number or name.
mobilestringThe full telephone number.
postalCodestringThe postal code.
Maximum length:
-
5 digits for addresses in the US.
-
10 characters for all other countries.
stateOrProvincestringThe two-letter ISO 3166-2 state or province code.
Maximum length: 2 characters for addresses in the US.
streetstringThe streetname of the house.
cardImageIdstringThe unique identifier of the card image. This image is printed on the full front of the card.
carrierstringThe letter or packaging to which the card is attached.
This field overrides the carrier design ID defined in the card configuration profile.
carrierImageIdstringThe unique identifier of the carrier image. This image is printed on the letter to which the card is attached.
configurationProfileIdstringThe unique identifier of the card configuration profile that contains the settings that are applied to the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment.
You can override some of the existing settings in the configuration profile by providing the corresponding fields in the
configurationobject. For example, send theshipmentMethodto override the logistics company defined in the card configuration profile.currencystringThe three-letter ISO-4217 currency code of the card. For example, EUR.
This field overrides the existing currency setting on the card configuration profile.
envelopestringOverrides the envelope design ID defined in the card configuration profile.
insertstringAny additional material, such as marketing material, that is shipped together with the card.
This field overrides the insert design ID defined in the card configuration profile.
languagestringThe two-letter ISO-639-1 language code of the card. For example, en.
logoImageIdstringThe unique identifier of the logo image. This image is printed on the partial front of the card, for example, a logo on the upper right corner.
pinMailerstringThe letter on which the PIN of the card is printed.
This field overrides the PIN mailer design ID defined in the card configuration profile.
printLinestringPrint Line.
Text printed on the physical card below the cardholder name. You provide the value, which can be up to 26 characters.
shipmentMethodstringThe logistics company that ships the card.
This field overrides the logistics company defined in the card configuration profile.
cvcstringThe CVC2 value of the card.
The CVC2 is not sent by default. This is only returned in the
POSTresponse for single-use virtual cards.deliveryContactobjectThe delivery contact (name and address) for physical card delivery.
addressobjectThe address of the contact.
citystringMax length: 3000The name of the city. Maximum length: 3000 characters.
countrystringThe two-character ISO-3166-1 alpha-2 country code. For example, US.
If you don't know the country or are not collecting the country from the shopper, provide
countryasZZ.houseNumberOrNamestringMax length: 3000The number or name of the house. Maximum length: 3000 characters.
postalCodestringA maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
stateOrProvincestringThe two-character ISO 3166-2 state or province code. For example, CA in the US or ON in Canada.
Required for the US and Canada.
streetstringMax length: 3000The name of the street. Maximum length: 3000 characters.
The house number should not be included in this field; it should be separately provided via
houseNumberOrName.emailstringThe e-mail address of the contact.
fullPhoneNumberstringThe phone number of the contact provided as a single string. It will be handled as a landline phone. Examples: "0031 6 11 22 33 44", "+316/1122-3344", "(0031) 611223344"
nameobjectThe name of the contact.
firstNamestringMax length: 80The first name.
lastNamestringMax length: 80The last name.
personalDataobjectPersonal data of the contact.
dateOfBirthstringThe date of birth of the person. The date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31).
idNumberstringAn ID number of the person.
nationalitystringMin length: 2Max length: 2The nationality of the person represented by a two-character country code.
The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL').
phoneNumberobjectThe phone number of the contact.
phoneCountryCodestringThe two-character ISO-3166-1 alpha-2 country code of the phone number. For example, US or NL.
phoneNumberstringThe phone number. The inclusion of the phone number country code is not necessary.
phoneTypestringThe type of the phone number. Possible values: Landline, Mobile, SIP, Fax.
webAddressstringThe URL of the website of the contact.
expirationobjectThe expiration date of the card.
monthstringThe month in which the card will expire.
yearstringThe year in which the card will expire.
formFactorstringThe form factor of the card. Possible values: virtual, physical.
lastFourstringLast last four digits of the card number.
numberstringThe primary account number (PAN) of the card.
The PAN is masked by default and returned only for single-use virtual cards.
threeDSecurestringThe 3DS configuration of the physical or the virtual card. Possible values: fullySupported, secureCorporate.
Reach out to your Adyen contact to get the values relevant for your integration.
usagestringSpecifies how many times the card can be used. Possible values: singleUse, multiUse.
Reach out to your Adyen contact to determine the value relevant for your integration.
descriptionstringMax length: 300Your description for the payment instrument, maximum 300 characters.
idstringThe unique identifier of the payment instrument.
issuingCountryCodestringThe two-character ISO 3166-1 alpha-2 country code where the payment instrument is issued. For example, NL or US.
paymentInstrumentGroupIdstringThe unique identifier of the payment instrument group to which the payment instrument belongs.
referencestringMax length: 150Your reference for the payment instrument, maximum 150 characters.
replacedByIdstringThe unique identifier of the payment instrument that replaced this payment instrument.
replacementOfIdstringThe unique identifier of the payment instrument that is replaced by this payment instrument.
statusstringThe status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to Active by default. However, there can be exceptions for cards based on the
card.formFactorand theissuingCountryCode. For example, when issuing physical cards in the US, the default status is Requested.Possible values:
-
Active: The payment instrument is active and can be used to make payments.
-
Requested: The payment instrument has been requested. This state is applicable for physical cards.
-
Inactive: The payment instrument is inactive and cannot be used to make payments.
-
Suspended: The payment instrument is temporarily suspended and cannot be used to make payments.
-
Closed: The payment instrument is permanently closed. This action cannot be undone.
-
Stolen
-
Lost
statusCommentstringComment for the status of the payment instrument.
typestringThe type of payment instrument.
Possible values: card, bankAccount.
-
400 - Bad Request
A problem reading or understanding the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference.responseobjectJSON response payload.
statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
401 - Unauthorized
Authentication required.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference.responseobjectJSON response payload.
statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
403 - Forbidden
Insufficient permissions to process the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference.responseobjectJSON response payload.
statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
422 - Unprocessable Entity
A request validation error.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference.responseobjectJSON response payload.
statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
500 - Internal Server Error
The server could not process the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference.responseobjectJSON response payload.
statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.