Next Commerce
Webhook Event ReferencePayments

gateway.created

Triggers when a new gateway is created.

Request Body

application/json

Response Body

Example Requests

POST/gateway.created

{  "api_version": "2024-04-01",  "data": {    "active": false,    "auto_capture_on_fulfillment": false,    "card_types": [      {        "code": "string",        "label": "string"      }    ],    "currencies": [      {        "code": "string",        "label": "string"      }    ],    "delayed_capture_days": null,    "enable_3ds2": false,    "gateway_groups": [      {        "id": 0,        "name": "string",        "weight": 0      }    ],    "gateway_type": "string",    "id": 0,    "is_next_payments": false,    "merchant_profile": {      "amex": {        "acquirer_bin": "string",        "mcc_code": "string",        "merchant_id": "string"      },      "discover": {        "acquirer_bin": "string",        "mcc_code": "string",        "merchant_id": "string"      },      "mastercard": {        "acquirer_bin": "string",        "mcc_code": "string",        "merchant_id": "string"      },      "merchant_country": null,      "merchant_name": null,      "visa": {        "acquirer_bin": "string",        "mcc_code": "string",        "merchant_id": "string"      }    },    "name": "string",    "optimized_3ds": false,    "payment_flow": "string",    "re_attemp_group": {      "available_currencies": [        {          "code": "string",          "label": "string"        }      ],      "available_express_payment_methods": [        {          "code": "string",          "label": "string"        }      ],      "available_payment_methods": [        {          "code": "string",          "label": "string",          "supported_currencies": []        }      ],      "card_types": [        {          "code": "string",          "label": "string"        }      ],      "id": 0,      "name": "string"    },    "re_attemp_intitial_charge": null  },  "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",  "event_type": "gateway.created",  "object": "gateway",  "webhook": {    "events": [      "gateway.created"    ],    "id": 1,    "store": "example",    "target": "https://example.com/webhook/"  }}