Payment Providers

Read-only access to the payment providers (gateway connections) configured for your company. You need a provider's ID to create saved cards and recurring payments.

Use cases: Look up your active provider's ID before creating saved cards or recurring payments.
GET/grow/providers

List the payment providers configured for the company.

`provider` is "GROW" — it is the only gateway wired in — and `environment` is "PRODUCTION" or "SANDBOX". `settlement` says when charged funds actually land in the bank, either `{ type: "fixedDelay", delayDays }` or `{ type: "monthlyOnDay", dayOfMonth, cutoffDayOfMonth }`, and it is what stamps the payment-line date on a receipt. It is `null` when no schedule is configured. Inactive providers are listed too, so check `isActive` before using an id.

Request

curl -X GET "https://api.glance.co.il/grow/providers" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

Response
{
  "success": true,
  "data": [
    {
      "id": 3,
      "provider": "GROW",
      "environment": "PRODUCTION",
      "providerUserId": "cashier-88213",
      "isActive": true,
      "settlement": {
        "type": "fixedDelay",
        "delayDays": 3
      },
      "createdAt": "2026-01-10T09:00:00Z"
    }
  ]
}
GET/grow/providers/:id

Get a single payment provider by its ID.

Path Parameters

NameTypeDescription
id
numberrequiredPayment provider ID.

Request

curl -X GET "https://api.glance.co.il/grow/providers/:id" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

Response
{
  "success": true,
  "data": {
    "id": 3,
    "provider": "GROW",
    "environment": "PRODUCTION",
    "providerUserId": "cashier-88213",
    "isActive": true,
    "settlement": {
      "type": "fixedDelay",
      "delayDays": 3
    },
    "createdAt": "2026-01-10T09:00:00Z"
  }
}

Last updated