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": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"payment_provider_slug": "<string>",
"details": [
{
"code": "<string>",
"is_subscription_enabled": true,
"options": [
{
"bankcode": "<string>",
"icon_url": "<string>",
"is_subscription_enabled": true,
"name": "<string>",
"pg": "<string>"
}
],
"payment_method": "<string>"
}
],
"payment_instructions": "<string>",
"order_params": {}
}
]
}
}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": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"payment_provider_slug": "<string>",
"details": [
{
"code": "<string>",
"is_subscription_enabled": true,
"options": [
{
"bankcode": "<string>",
"icon_url": "<string>",
"is_subscription_enabled": true,
"name": "<string>",
"pg": "<string>"
}
],
"payment_method": "<string>"
}
],
"payment_instructions": "<string>",
"order_params": {}
}
]
}
}Access token
Payment method type
card, upi, netbanking, wallet, manual Payment provider slug
Was this page helpful?