Update a gateway for a merchant

This API allows partners to update a gateway for a merchant

PATCH https://<PayEngine-host>/api/merchant/:merchant_id/gateways/:id

Path Parameters

Name
Type
Description

merchant_id*

UUID

Merchant ID

id

UUID

PayEngine unique ID

Request Body

Name
Type
Description

enabled

boolean

true/false

configuration

object

configuration data for this gateway

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

PayEngine system ID for the merchant

id

UUID

PayEngine unique 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

configuration

object

configuration data for this gateway

Webhook event: GATEWAY_UPDATED

Webhook Payload Example

Last updated