For the complete documentation index, see llms.txt. This page is also available as Markdown.

List store payment providers

List a store's payment providers, split into providers already connected to the store and gateways available to install. Never exposes gateway credentials, secrets, or configuration.

List store payment providers

get

List a store's payment providers, split into providers already connected to the store and gateways available to install. Never exposes gateway credentials, secrets, or configuration.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
store_idstringRequired

The ID of the store to list payment providers for.

Example: store_01J8Z5F8W9K8M4A7B3C2D1E0FG
Query parameters
include_currency_unsupportedbooleanOptional

Include gateways that do not support the store currency in the available list.

Example: true
Responses
200

Success response

application/json
get/api/ecommerce/v1/stores/{store_id}/payment-providers
GET /api/ecommerce/v1/stores/{store_id}/payment-providers HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": {
    "connected": [
      {
        "id": "storepp_01J8Z5F8W9K8M4A7B3C2D1E0FG",
        "provider_id": "stripe",
        "title": "Stripe",
        "is_enabled": true,
        "status": "connected",
        "shows_at_checkout": true
      }
    ],
    "available": [
      {
        "id": "stripe",
        "is_installed": false,
        "is_enabled": false,
        "is_currency_supported": true,
        "supported_currencies": [
          "usd"
        ]
      }
    ]
  }
}

Last updated

Was this helpful?