Payment options

Payment gateway list

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

Query Parameters

{
  "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

{
  "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

Request Body

{
  "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

Last updated