paymentSources

Contains payment source information for vaulted shoppers

Request

Property NameTypeRequiredDescription
creditCardInfoarrayOptionalArray containing the following for each payment source (there may be multiple payment sources):
  • pfToken string - Required if using Hosted Payment Fields. Do not include credit-card resource if using this token. Relevant only for Create Vaulted Shopper and Update Vaulted Shopper.

  • status string Enter D to delete the card from the shopper.

  • *Note:** If status is included in the request, specify the card to be deleted by including cardType and cardLastFourDigits within creditCard.

ecpDetailsarrayOptionalArray containing the ecp detail properties. See ecpDetails.
sepaDirectDebitInfoarrayOptionalArray of objects containing sepaDirectDebitInfo properties.
ecpInfoobjectOptionalContains information about the ACH/ECP account. See ecpInfo.
  • Note: * This is deprecated as of API v3.0.

Response

Property NameTypeDescription
creditCardInfoarrayArray containing the following for each payment source (there may be multiple payment sources):
  • dateCreated string The date the payment method was saved to the vaulted shopper.

  • timeCreated string The time (PST) the payment method was saved to the vaulted shopper.

ecpDetailsarrayArray containing the ecp detail properties. See ecpDetails.
sepaDirectDebitInfoarrayArray of objects containing sepaDirectDebitInfo properties.
ecpInfoobjectContains information about the ACH/ECP account. See ecpInfo.
  • Note: * This is deprecated as of API v3.0.