Updates a payment method.
Accept-Encoding | string Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Content-Encoding | string Include the |
Authorization | string The value is in the |
Zuora-Entity-Ids | string An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you do not need to set this header. |
Zuora-Track-Id | string <= 64 characters A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
AccountId | string The ID of the customer account associated with this payment method. Note: If a payment method was created without an account ID associated, you can update the payment method to specify an account ID in this operation. However, if a payment method is already associated with a customer account, you cannot update the payment method to associate it with another account ID. You cannot remove the previous account ID and leave the |
AchAbaCode | string The nine-digit routing number or ABA number used by banks. Use this field for ACH payment methods. Character limit: 9 Values: a string of 9 characters or fewer |
AchAccountName | string The name of the account holder, which can be either a person or a company. Use this field for ACH payment methods. Character limit: 70 Values: a string of 70 characters or fewer |
AchAccountType | string The type of bank account associated with the ACH payment. Use this field for ACH payment methods.
When creating an ACH payment method on Adyen, this field is required by Zuora but it is not required by Adyen. To create the ACH payment method successfully, specify a real value for this field if you can. If it is not possible to get the real value for it, specify any of the allowed values as a dummy value, Character limit: 16 Values:
|
AchAddress1 | string Line 1 for the ACH address. Required on create for the Vantiv payment gateway. Optional for other gateways. Character limit: Values: an address |
AchAddress2 | string Line 2 for the ACH address. Required on create for the Vantiv payment gateway. Optional for other gateways. Character limit: Values: an address |
AchBankName | string The name of the bank where the ACH payment account is held. Use this field for ACH payment methods. When creating an ACH payment method on Adyen, this field is required by Zuora but it is not required by Adyen. To create the ACH payment method successfully, specify a real value for this field if you can. If it is not possible to get the real value for it, specify a dummy value. Character limit: 70 Values: a string of 70 characters or fewer |
AchCity | string The city of the ACH address. Use this field for ACH payment methods. Note: This field is only specific to the NMI payment gateway. Character limit: 40 Values: a string of 40 characters or fewer |
AchCountry | string The country of the ACH address. See Country Names and Their ISO Standard 2- and 3-Digit Codes for the list of supported country names. Use this field for ACH methods. Note: This field is only specific to the NMI payment gateway. Character limit: 44 Values: a supported country name |
AchPostalCode | string The billing address's zip code. This field is required only when you define an ACH payment method. Note: This field is only specific to the NMI payment gateway. Character limit: 20 Values: a string of 40 characters or fewer |
AchState | string The billing address's state. Use this field is if the Character limit: 50 Values: a valid state name |
BankBranchCode | string The branch code of the bank used for direct debit. Use this field for the following bank transfer payment methods:
Character limit: 10 |
BankCheckDigit | string The check digit in the international bank account number, which confirms the validity of the account. Use this field for direct debit payment methods. Character limit: 4 Values: string of 4 characters or fewer |
BankCode | string The sort code or number that identifies the bank. This is also known as the sort code. Use this field for the following bank transfer payment methods:
|
BankTransferType | string <= 20 characters The type of direct debit transfer. The value of this field is dependent on the country of the user. This field is only required if the Values:
|
BusinessIdentificationCode | string The business identification code for Swiss direct payment methods that use the Global Collect payment gateway. Use this field only for direct debit payments in Switzerland with Global Collect. Character limit: 11 Values: string of 11 characters or fewer |
City | string The city of the customer's address. Use this field for direct debit payment methods. Character limit:80 Values: string of 80 characters or fewer |
CompanyName | string <= 80 characters The name of the company. Zuora does not recommend that you use this field. |
Country | string The two-letter country code of the customer's address. Use this field for the following bank transfer payment methods:
|
CreditCardAddress1 | string The first line of the card holder's address, which is often a street address or business name. Use this field for credit card and direct debit payment methods. Character limit: 255 Values: a string of 255 characters or fewer |
CreditCardAddress2 | string The second line of the card holder's address. Use this field for credit card and direct debit payment methods. Character limit: 255 Values: a string of 255 characters or fewer |
CreditCardCity | string The city of the card holder's address. Use this field for credit card and direct debit payment methods Character limit: 40 Values: a string of 40 characters or fewer |
CreditCardCountry | string The country of the card holder's address. |
CreditCardExpirationMonth | integer <int32> The expiration month of the credit card or debit card. Use this field for credit card and direct debit payment methods. Character limit: 2 Values: a two-digit number, 01 - 12 |
CreditCardExpirationYear | integer <int32> The expiration month of the credit card or debit card. Use this field for credit card and direct debit payment methods. Character limit: 4 Values: a four-digit number |
CreditCardHolderName | string The full name of the card holder. Use this field for credit card and direct debit payment methods. Character limit: 50 Values: a string of 50 characters or fewer |
CreditCardPostalCode | string The billing address's zip code. This field is required only when you define a debit card or credit card payment. Character limit: 20 Values: a string of 20 characters or fewer |
CreditCardSecurityCode | string The CVV or CVV2 security code. See How do I control what information Zuora sends over to the Payment Gateway? for more information. To ensure PCI compliance, this value is not stored and cannot be queried. Values: a valid CVV or CVV2 security code |
CreditCardState | string The billing address's state. Use this field is if the `CreditCardCountry' value is either Canada or the US. State names must be spelled in full. |
CreditCardType | string The type of the credit card. Possible values include |
DeviceSessionId | string The session ID of the user when the |
string An email address for the payment method in addition to the bill to contact email address. Character limit: 80 Values: a string of 80 characters or fewer | |
ExistingMandate | string Indicates if the customer has an existing mandate or a new mandate. A mandate is a signed authorization for UK and NL customers. When you are migrating mandates from another system, be sure to set this field correctly. If you indicate that a new mandate is an existing mandate or vice-versa, then transactions fail. This field is used only for the direct debit payment method.
Character limit: 3 Values: |
FirstName | string The customer's first name. This field is used only for the direct debit payment method. Character limit: 30 Values: a string of 30 characters or fewer |
IBAN | string The International Bank Account Number. This field is used only for the direct debit payment method. Character limit: 42 Values: a string of 42 characters or fewer |
IPAddress | string The IPv4 or IPv6 information of the user when the payment method was created or updated. Gateways use this field for fraud prevention. If this field is passed to Zuora, then Zuora passes this field to supported gateways. If the IP address length is beyond 45 characters, a validation error occurs. |
IdentityNumber | string The unique identity number of the customer account. This field is required only if the |
IsCompany | boolean Default: false Whether the customer account is a company. Zuora does not recommend that you use this field. |
LastName | string The customer's last name. This field is used only for the direct debit payment method. Character limit: 70 Values: a string of 70 characters or fewer |
LastTransactionDateTime | string <date-time> The date of the most recent transaction. Character limit: 29 Values: a valid date and time value |
MandateCreationDate | string <date> The date when the mandate was created, in |
MandateID | string The ID of the mandate. A mandate is a signed authorization for UK and NL customers. This field is used only for the direct debit payment method. Character limit: 36 Values: a string of 36 characters or fewer |
MandateReceived | string Indicates if the mandate was received. A mandate is a signed authorization for UK and NL customers. This field is used only for the direct debit payment method.
Character limit: 3 Values: |
MandateUpdateDate | string <date> The date when the mandate was last updated, in |
MaxConsecutivePaymentFailures | integer Specifies the number of allowable consecutive failures Zuora attempts with the payment method before stopping. Values: a valid number |
NumConsecutiveFailures | integer [ 0 .. 100 ] The number of consecutive failed payments for this payment method. It is reset to |
PaymentMethodStatus | string This field is used to indicate the status of the payment method created within an account. It is set to |
PaymentRetryWindow | integer The retry interval setting, which prevents making a payment attempt if the last failed attempt was within the last specified number of hours. This field is required if the |
Phone | string The phone number that the account holder registered with the bank. This field is used for credit card validation when passing to a gateway. Character limit: 40 Values: a string of 40 characters or fewer |
PostalCode | string The zip code of the customer's address. This field is used only for the direct debit payment method. Character limit: 20 Values: a string of 20 characters or fewer |
SecondTokenId | string A gateway unique identifier that replaces sensitive payment method data. |
State | string The state of the customer's address. This field is used only for the direct debit payment method. Character limit: 70 Values: a string of 70 characters or fewer |
StreetName | string The street name of the customer's address. This field is used only for the direct debit payment method. Character limit: 100 Values: a string of 100 characters or fewer |
StreetNumber | string The street number of the customer's address. This field is used only for the direct debit payment method. Character limit: 30 Values: a string of 30 characters or fewer |
UseDefaultRetryRule | boolean Determines whether to use the default retry rules configured in the Zuora Payments settings. Set this to |
property name* additional property | any Custom fields of the payment method. The name of each custom field has the form |
{- "CreditCardCountry": "United States",
- "CreditCardState": "CA"
}
{- "Success": true,
- "Id": "2c93808457d787030157e02fced332a2"
}