---
title: "Create a merchant connection"
method: POST
path: "/merchantconnections"
---

# Create a merchant connection

`POST /merchantconnections`

## Request

- Base URL: `https://api-sandbox.ezypay.com/v2`
- URL: `https://api-sandbox.ezypay.com/v2/merchantconnections`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://identity-sandbox.ezypay.com/token`

Create a merchant connection.

## Headers

- `merchant` string, required

## Request body

- object
  - `requesterId` string, required: Auto-generated unique identifier of the merchant that is requesting the connection.
  - `requesterDetails` string: Details of the requester merchant.
  - `accepterId` string, required: Auto-generated unique identifier of the merchant that is accepting the connection.
  - `accepterDetails` string: Details of the requester merchant.
  - `permissions` string[], required: The type of connection allowed between the two merchants. You can specify multiple values. Supported values are: `partner_invoice` - The requester merchant can issue on-demand partner invoices to the accepter merchant. `partner_invoice_inter_merchant` - The requester merchant can issue on-demand partner invoices on behalf of the accepter merchant to another merchant. The requester merchant must have a connection with both merchants. `partner_subscription` - The accepter merchant can subscribe to partner subscriptions created by the requester merchant. `partner_revenue_share` - The requester merchant can collect a portion of funds from the accepter merchant using revenue share.
  - `description` string: Brief description of the merchant connection that can be merchant facing.
  - `termsAndConditionsURL` string: Terms and Conditions URL.

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `924be4030f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/merchantconnections/post.md)

---

[API](https://skmtc.dev/ezypay/apis/vault.md) - [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) - [OpenAPI document](https://skmtc.dev/ezypay/apis/vault/revisions/924be4030f56?raw)
