1
0
Files
PayPal-PHP-Server-SDK/doc/models/payment-method-preference.md
2024-09-06 15:38:17 +05:00

1.6 KiB
Raw Blame History

Payment Method Preference

The customer and merchant payment preferences.

Structure

PaymentMethodPreference

Fields

Name Type Tags Description Getter Setter
payeePreferred ?string(PayeePaymentMethodPreference) Optional The merchant-preferred payment methods.
Default: PayeePaymentMethodPreference::UNRESTRICTED
Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[0-9A-Z_]+$
getPayeePreferred(): ?string setPayeePreferred(?string payeePreferred): void
standardEntryClassCode ?string(StandardEntryClassCode) Optional NACHA (the regulatory body governing the ACH network) requires that API callers (merchants, partners) obtain the consumers explicit authorization before initiating a transaction. To stay compliant, youll 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
getStandardEntryClassCode(): ?string setStandardEntryClassCode(?string standardEntryClassCode): void

Example (as JSON)

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