Example: Create a Saved Payment Method for Bank or Alternative Payment Method
Create Saved Payment Methods (SPM) for bank or alternative payment methods in one of two ways:
-
Salesforce-Supported Types: Use supported types, such as
sepa_debit,bancontact,ideal,us_bank_account(ACH),bacs_debit, andau_becs_debit.Or
-
Extended Payment Method Types: If the
typeisn’t supported by Salesforce, settypetoextd_apm_typeand provide the exact payment method type recognized by your payment gateway in theextendedPaymentMethodTypefield.
The ExtendedPaymentMethodType field and extended types (extd_apm_type, extd_wallet) are supported only for third-party gateways.
Sample JSON request
Sample JSON response
Here’s a sample UI showing example records created for extd_apm_type.
In this example, ExtendedPaymentMethodType is set to klarna for testing. You can use any value not supported by Salesforce and customize your implementation as needed.
