Payment Methods
Private API Key
BasicAuth
Example:
Authorizations
AuthorizationstringRequired
Body
pluginstring · max: 50Required
Payment methods will be curated based on their compatibility with the specified plugin.
customer_idstring · max: 64Optional
If provided, customer_payment_methods will be filtered to show only those payment methods that have been successfully used with a paid payment attempts by this customer in the past.
operationstring · enumOptionalPossible values:
When specified, the available payment methods will be refined based on their compatibility with the indicated operation.
purchase- purchaseauthorize- authorize
tokenizablebooleanOptional
If defined, payment methods will be filtered based on supporting tokenization and auto-debit action.
auto_debitbooleanOptional
If defined, payment methods will be filtered based on supporting tokenization and auto-debit action.
typestring · enumOptionalPossible values:
When specified, the available payment methods will be refined based on their type determining if type is sandbox or production.
sandbox- sandboxproduction- production
Responses
200Success
application/json
400Error
application/json
403Error
application/json
post
/b/pbl/v2/payment-methods/Key insights you can glean from the API response include
Last updated