Payment options

Payment gateway list

GET https://app.hightouch.ai/api/integrations/payment_gates/

Query Parameters

NameTypeDescription

shop_id

integer

Store ID

limit

integer

Number of entries( max. 100)

offset

integer

Shift on records

{
  "status": "ok",
  "result": {
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
      {
        "id": 10,
        "shop_id": 2,
        "name": "Яндекс Касса",
        "type": {
          "id": 1,
          "name": "Yandex kassa"
        },
        "robokassa_shop_id": null,
        "robokassa_pass1": null,
        "robokassa_pass2": null,
        "yandex_kassa_shop_id": 12345,
        "yandex_kassa_secret_key": "asdf1234qweer"
      }
    ]
  }
}

Add a payment gateway

POST https://app.hightouch.ai/api/integrations/payment_gates/

The following types of payment systems are supported at the moment: {"id": 1} - Yandex Kassa {"id": 2} - Robokassa Each payment system requires the entry of its own additional fields.

Request Body

NameTypeDescription

shop_id

integer

Store ID

name

string

Name of the payment gateway

type

object

Type. For example : {"id": 2}

yandex_kassa_secret_key

string

yandex_kassa_shop_id

string

robokassa_shop_id

string

robokassa_pass1

string

robokassa_pass2

string

string

{
  "status": "ok",
  "result": {
    "id": 11,
    "shop_id": 2,
    "name": "we",
    "type": {
      "id": 2,
      "name": "Robokassa"
    },
    "robokassa_shop_id": "shop2bot",
    "robokassa_pass1": "23",
    "robokassa_pass2": "443",
    "yandex_kassa_shop_id": null,
    "yandex_kassa_secret_key": null
  }
}

Change payment gateway

PATCH https://app.hightouch.ai/api/integrations/payment_gates/:id/

Path Parameters

NameTypeDescription

id

integer

Payment gateway ID

Request Body

NameTypeDescription

shop_id

integer

Store ID

name

string

Name of the payment gateway

type

object

Type. for example: {"id": 1}

yandex_kassa_secret_key

string

yandex_kassa_shop_id

string

robokassa_shop_id

string

robokassa_pass1

string

robokassa_pass2

string

{
  "status": "ok",
  "result": {
    "id": 11,
    "shop_id": 2,
    "name": "we",
    "type": {
      "id": 2,
      "name": "Robokassa"
    },
    "robokassa_shop_id": "shop2bot",
    "robokassa_pass1": "23",
    "robokassa_pass2": "443",
    "yandex_kassa_shop_id": null,
    "yandex_kassa_secret_key": null
  }
}

Delete payment gateway

DELETE https://app.hightouch.ai/api/integrations/payment_gates/:id/

Path Parameters

NameTypeDescription

id

integer

Payment gateway ID

Last updated