Payment Method Preference

May 27, 2025 · View on GitHub

The customer and merchant payment preferences.

Structure

PaymentMethodPreference

Fields

NameTypeTagsDescriptionGetterSetter
PayeePreferredPayeePaymentMethodPreferenceOptionalThe merchant-preferred payment methods.

Default: PayeePaymentMethodPreference.UNRESTRICTED

Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[0-9A-Z_]+$
PayeePaymentMethodPreference getPayeePreferred()setPayeePreferred(PayeePaymentMethodPreference payeePreferred)
StandardEntryClassCodeStandardEntryClassCodeOptionalNACHA (the regulatory body governing the ACH network) requires that API callers (merchants, partners) obtain the consumer’s explicit authorization before initiating a transaction. To stay compliant, you’ll need to make sure that you retain a compliant authorization for each transaction that you originate to the ACH Network using this API. ACH transactions are categorized (using SEC codes) by how you capture authorization from the Receiver (the person whose bank account is being debited or credited). PayPal supports the following SEC codes.

Default: StandardEntryClassCode.WEB

Constraints: Minimum Length: 3, Maximum Length: 255
StandardEntryClassCode getStandardEntryClassCode()setStandardEntryClassCode(StandardEntryClassCode standardEntryClassCode)

Example (as JSON)

{
  "payee_preferred": "UNRESTRICTED",
  "standard_entry_class_code": "WEB"
}