Skip to main content

Retrieve a list of payment methods based on filter values.

POST 

/b/pbl/v2/payment-methods/

This endpoint allows you to retrieve the available payment methods for a specific plugin, operation and customer. You can specify the desired filter field to get a list of payment methods that are supported and accessible.

Permissions​

Auth MethodRequired Permissions
API KeyAll permissions (admin access)
Basic AuthUser-specific access based on assigned permissions

Gateway permission: Can use pg_code — grants access to the specific payment gateway (e.g., "Can use Credit Card")

curl --location 'https://sandbox.ottu.net/b/pbl/v2/payment-methods/' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Api-Key YOUR_API_KEY' \
--data '{
  "plugin": "payment_request",
  "operation": "purchase",
  "currencies": [
    "KWD"
  ],
  "type": "sandbox",
  "tags": [
    "demo"
  ]
}'

Request​

Responses​