Skip to main content
GET
/
payments
/
payment-methods
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": {}
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token

Query Parameters

payment_method_type
enum<string>

Payment method type

Available options:
card,
upi,
netbanking,
wallet,
manual
payment_provider_slug
string

Payment provider slug

Response

OK

message
string
success
boolean
content
object