List payment options
GET
/v4/payment-options/
const url = 'https://console.orangepill.cloud/v4/payment-options/?currency=example&include_disabled=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://console.orangepill.cloud/v4/payment-options/?currency=example&include_disabled=true' \ --header 'Authorization: Bearer <token>'Return available payment products and channels for a tenant.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”currency
required
string
ISO-4217 currency code
country
string
ISO-3166-1 alpha-2 country code
amount
string
Payment amount (stringified)
project_id
string
Project identifier
include_disabled
string
Include disabled routes (admin preview)
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
products
required
Array<object>
object
category
required
string
channels
required
Array<object>
object
availability_reason
string
channel
required
string
constraints
object
max_amount
string
min_amount
string
supported_countries
Array<string>
supported_currencies
Array<string>
supported
required
boolean
ux_hint
string
description
string
display_name
required
string
icon
string
metadata
object
key
additional properties
product_key
required
string
providers
required
Array<object>
object
capabilities
object
execution_mode
string
notes
string
settlement_window_hint
string
supported_countries
Array<string>
supported_currencies
Array<string>
supports_disputes
boolean
supports_refunds
boolean
priority
required
integer
provider_instance_id
string
provider_key
required
string
route_id
string
Example
{ "products": [ { "channels": [ { "availability_reason": "provider_disabled" } ], "providers": [ { "capabilities": { "execution_mode": "sync" } } ] } ]}Default Response
Media typeapplication/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}Default Response
Media typeapplication/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}