Update Payment Credential - Field Descriptions

The following tables describe the fields in the request and the response for the Update Payment Credential endpoint.

Request for Card Type

The following table describes the fields that can be included in the request where the paymentType for the credential is CARD.

FieldDescriptionTypeMin LengthMax LengthMandatory
typeThe payment credential type.AN


Yes
expirationDateThe expiration date for the card. Format is YYYY-MM.AN77Yes
nameOnCardThe name that appears on the card.AN1120Yes
cardTypeThe card type description.AN170Yes
currencyCodeThe recipient card's currency code.AN03No
externalIdThe client-provided identifier for the payment credential.AN1100No
issuerNameThe name of the issuer of the card.AN1150No
preferredForObject that contains the type of account of the payment credential.Object


Yes
typeIndicates if a payment credential is a preferred Receiving, Sending, or Paying account. Receiving allows for funds to be pushed into the payment credential. Sending allows for funds to be sent from the payment credential. Paying allows for the payment credential to be used for purchases. More than one preferred type can be used.Array03Yes
preferredFor

Object



billingAddressObject that contains details on the billing address of the customer.Object


Yes
countryThe country code of the billing address. Uses the ISO-3166 format.AN33Yes
addressLine1The first line of the billing address.AN099No
addressLine2The second line of the billing address.AN099No
buildingNumberThe building number of the billing address.AN160No
cityThe city of the billing address.AN135No
minorSubdivisionCodeThe minor subdivision code of the billing address.AN150No
postalCodeThe post code of the billing address.AN116No
stateThe state of the billing address.AN116No
streetNameThe street name of the billing address.AN160No
billingAddress
Object



Request for Bank Type

The following table describes the fields that can be included in the request where the paymentType for the credential is BANK.

FieldDescriptionTypeMin LengthMax LengthMandatory
typeThe payment credential type.AN


Yes
accountNameThe bank account name. For example, the account holder name as recorded on the bank account.AN170Yes
accountNumberThe bank account number.AN134Yes
accountNumberTypeThe bank account number type. Valid values are 'IBAN', 'DEFAULT' and 'TOKEN'. If the IBAN format is not supported in a country, use DEFAULT.AN47Yes
bankNameThe name of the bank.AN150Yes
countryCodeThe bank account's country code.AN33Yes
currencyCodeThe bank account's currency code.AN33Yes
accountTypeThe account type.AN68No
bankCodeThe bank account's bank code.AN112No
bankCodeTypeThe bank account's bank code type.AN39No
BICThe bank account's Business Identifier Code (BIC).AN811No
branchCodeThe bank account's branch code.AN112No
externalIdThe client-provided identifier for the payment credential.AN1100No
preferredForObject that contains the type of account of the payment credential.Object


Yes
typeIndicates if a payment credential is a preferred Receiving, Sending, or Paying account. Receiving allows for funds to be pushed into the payment credential. Sending allows for funds to be sent from the payment credential. Paying allows for the payment credential to be used for purchases. More than one preferred type can be used.Array03Yes
preferredFor

Object



addressObject that contains details on the billing address of the bank.Object


Yes
countryThe country code of the address. Uses the ISO-3166 format.AN33Yes
addressLine1The first line of the address.AN099No
addressLine2The second line of the address.AN099No
buildingNumberThe building number of the address.AN160No
cityThe city of the address.AN135No
minorSubdivisionCodeThe minor subdivision code of the address.AN150No
postalCodeThe post code of the address.AN116No
stateThe state of the address.AN116No
streetNameThe street name of the address.AN160No
address

Object



Response

If successful, a 204 No Content response is returned.