Authorizations
Access token
Query Parameters
payment gateway code
Available options:
PAYU
, JUSPAY
Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/payments/payment-methods \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"payment_methods": [
{
"payment_method": "<string>",
"code": "<string>",
"is_subscription_enabled": true,
"options": [
{
"name": "<string>",
"icon_url": "<string>",
"pg": "<string>",
"bankcode": "<string>",
"is_subscription_enabled": true
}
]
}
]
}
}
List all payment methods
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/payments/payment-methods \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"payment_methods": [
{
"payment_method": "<string>",
"code": "<string>",
"is_subscription_enabled": true,
"options": [
{
"name": "<string>",
"icon_url": "<string>",
"pg": "<string>",
"bankcode": "<string>",
"is_subscription_enabled": true
}
]
}
]
}
}
Access token
payment gateway code
PAYU
, JUSPAY
Was this page helpful?