PATCH /paymentInstruments/{id}
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.
Servers
- https://balanceplatform-api-test.adyen.com/bcl/v2
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | Yes |
The unique identifier of the payment instrument. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
statusComment |
String | No |
Comment for the status of the payment instrument. Required if |
status |
String | No |
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 Possible values:
Valid values:
|
card |
Object | No |
Object that contains information about the card payment instrument. |
card.usage |
String | No |
Specifies how many times the card can be used. Possible values: singleUse, multiUse.
|
card.deliveryContact |
Object | No |
The delivery contact (name and address) for physical card delivery. |
card.deliveryContact.email |
String | No |
The email address of the contact. |
card.deliveryContact.name |
Object | Yes |
The name of the contact. |
card.deliveryContact.name.lastName |
String | Yes |
The last name. |
card.deliveryContact.name.firstName |
String | Yes |
The first name. |
card.deliveryContact.webAddress |
String | No |
The URL of the contact's website. |
card.deliveryContact.company |
String | No |
The company name of the contact. |
card.deliveryContact.phoneNumber |
Object | No |
The phone number of the contact. |
card.deliveryContact.phoneNumber.phoneType |
String | No |
The type of the phone number. Possible values: Landline, Mobile, SIP, Fax. Valid values:
|
card.deliveryContact.phoneNumber.phoneNumber |
String | No |
The phone number. The inclusion of the phone number country code is not necessary. |
card.deliveryContact.phoneNumber.phoneCountryCode |
String | No |
The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, US or NL. |
card.deliveryContact.fullPhoneNumber |
String | No |
The full 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" |
card.deliveryContact.address |
Object | Yes |
The address of the contact. |
card.deliveryContact.address.line2 |
String | No |
The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide 6-50. |
card.deliveryContact.address.line1 |
String | No |
The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide Simon Carmiggeltstraat. |
card.deliveryContact.address.postalCode |
String | No |
The postal code. Maximum length:
|
card.deliveryContact.address.line3 |
String | No |
Additional information about the delivery address. |
card.deliveryContact.address.stateOrProvince |
String | No |
The state or province code, maximum 3 characters. For example, CA for California in the US or ON for Ontario in Canada.
|
card.deliveryContact.address.country |
String | Yes |
The two-character ISO-3166-1 alpha-2 country code. For example, US.
|
card.deliveryContact.address.city |
String | No |
The name of the city. |
card.brand |
String | Yes |
The brand of the physical or the virtual card. Possible values: visa, mc. |
card.configuration |
Object | No |
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 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. |
card.configuration.activation |
String | No |
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. |
card.configuration.carrierImageId |
String | No |
The unique identifier of the carrier image. This image is printed on the letter to which the card is attached. |
card.configuration.configurationProfileId |
String | Yes |
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 |
card.configuration.carrier |
String | No |
The letter or packaging to which the card is attached. This field overrides the carrier design ID defined in the card configuration profile. |
card.configuration.envelope |
String | No |
Overrides the envelope design ID defined in the card configuration profile. |
card.configuration.pinMailer |
String | No |
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. |
card.configuration.activationUrl |
String | No |
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. |
card.configuration.logoImageId |
String | No |
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. |
card.configuration.currency |
String | No |
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. |
card.configuration.cardImageId |
String | No |
The unique identifier of the card image. This image is printed on the full front of the card. |
card.configuration.shipmentMethod |
String | No |
The logistics company that ships the card. This field overrides the logistics company defined in the card configuration profile. |
card.configuration.bulkAddress |
Object | No |
Overrides the shipment bulk address defined in the card configuration profile. |
card.configuration.bulkAddress.stateOrProvince |
String | No |
The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US. |
card.configuration.bulkAddress.street |
String | No |
The streetname of the house. |
card.configuration.bulkAddress.city |
String | No |
The name of the city. |
card.configuration.bulkAddress.line2 |
String | No |
Additional information about the delivery address. For example, an apartment number. |
card.configuration.bulkAddress.line1 |
String | No |
The name of the street and the number of the building. For example: Simon Carmiggeltstraat 6-50. |
card.configuration.bulkAddress.postalCode |
String | No |
The postal code. Maximum length:
|
card.configuration.bulkAddress.email |
String | No |
The email address. |
card.configuration.bulkAddress.name |
String | No |
The recipient’s name (person or contact), for example ‘John Doe’. |
card.configuration.bulkAddress.company |
String | No |
The name of the company. |
card.configuration.bulkAddress.line3 |
String | No |
Additional information about the delivery address. |
card.configuration.bulkAddress.country |
String | Yes |
The two-character ISO-3166-1 alpha-2 country code. For example, US. |
card.configuration.bulkAddress.houseNumberOrName |
String | No |
The house number or name. |
card.configuration.bulkAddress.mobile |
String | No |
The full telephone number. |
card.configuration.insert |
String | No |
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. |
card.configuration.language |
String | No |
The two-letter ISO-639-1 language code of the card. For example, en. |
card.threeDSecure |
String | No |
The 3DS configuration of the physical or the virtual card. Possible values: fullySupported, secureCorporate.
|
card.authentication |
Object | No |
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. |
card.authentication.email |
String | No |
The email address where the one-time password (OTP) is sent. |
card.authentication.phone |
Object | No |
The phone number where the one-time password (OTP) is sent. This object must have:
|
card.authentication.phone.number |
String | Yes |
The full phone number provided as a single string. For example, "0031 6 11 22 33 44", "+316/1122-3344", or "(0031) 611223344". |
card.authentication.phone.type |
String | Yes |
Type of phone number. Possible values: Landline, Mobile. Valid values:
|
card.authentication.password |
String | No |
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.
|
card.brandVariant |
String | Yes |
The brand variant of the physical or the virtual card. For example, visadebit or mcprepaid.
|
card.cardholderName |
String | Yes |
The name of the cardholder. Maximum length: 26 characters. |
card.formFactor |
String | Yes |
The form factor of the card. Possible values: virtual, physical. Valid values:
|
balanceAccountId |
String | No |
The unique identifier of the balance account associated with this payment instrument.
|
statusReason |
String | No |
The reason for updating the status of the payment instrument. Possible values: lost, stolen, damaged, suspectedFraud, expired, endOfLife, accountClosure, other.
If the reason is other, you must also send the Valid values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.