Connect a gateway to a merchant

This API allows partners to connect a gateway to a merchant

POST https://<Platform-host>/api/merchant/:id/gateways

Path Parameters

Name
Type
Description

id*

UUID

Merchant ID

Request Body

Name
Type
Description

gateway_id (deprecated)

string

Deprecated. Use gateway instead.

gateway*

string

3rd party gateway type.

Example:

nmi | sierra | viaconex | stripe | elavon | payrix | etc. List Available Gateways

configuration*

object

Configuration data for this gateway

enabled

boolean

true/false

default: false

settlement_schedule.custom_settlement_time

string

Time of settlement in 24-hour HH:mm format (e.g., "15:00"). Note: This field is required if settlement_timezone is provided

settlement_schedule.custom_settlement_timezone

string

Timezone for the settlement time (e.g., "US/Alaska"). See list of supported timezones below Note: This field is required if settlement_time is provided

settlement_schedule.custom_settlement_enabled

boolean

Indicates whether a custom settlement time needs to be enabled.

List of supported time zones

  • US/Alaska

  • US/Aleutian

  • US/Arizona

  • US/Central

  • US/Eastern

  • US/Hawaii

  • US/Mountain

  • US/Pacific

Response

Field Name
Type
Description

merchant_id

UUID

Platform merchant ID.

id

UUID

Platform merchant gateway ID.

gateway_id (deprecated)

string

Deprecated. Use gateway instead.

gateway

string

3rd party gateway type.

Example:

nmi | sierra | viaconex | stripe | elavon | payrix | etc. List Available Gateways

enabled

boolean

True/False

Webhook Event: GATEWAY_CREATED

Webhook Payload Example

Last updated