Lopay Partner API
  1. Merchants
Lopay Partner API
  • Introduction
  • Environments
  • Authentication
  • Webhooks
  • Terminal ordering
  • Reporting
  • Errors
  • Getting started
  • Payment Links
    • List all payment links
      GET
    • Create a new payment link
      POST
    • Get existing payment link
      GET
    • Update existing payment link
      PATCH
    • Revoke an existing payment link
      DELETE
    • Send a payment link via email and/or SMS
      POST
  • Webhook subscriptions
    • Get login link for Lopay Partner Webhook Portal
      GET
    • List webhook subscriptions
      GET
    • Remove an existing webhook subscription
      DELETE
    • Create webhook subscription
      POST
    • Update existing webhook subscription
      PUT
  • Merchants
    • List all merchants
      GET
    • Register a new merchant
      POST
    • Connect to a merchant
      POST
    • Get merchant details
      GET
    • Update merchant bank details for receiving payouts.
      PUT
    • Get merchant onboarding link
      GET
    • Create account session with permissions for the specified embedded components.
      POST
    • Get list of available hardware for given merchant to purchase
      GET
    • Order terminal hardware for the specified merchant.
      POST
  • Marketing Deeplinks
    • List all affiliate marketing deeplinks.
    • Create a new affiliate marketing deeplink.
  • Reports
    • List all statement activity
  • Customers
    • Temporarily store customer details
  • Subscription Plans
    • Create a new subscription plan
    • List all subscription plans
    • Get existing subscription plan
  • Subscriptions
    • Get existing subscription
  1. Merchants

Connect to a merchant

Production Environment
https://api.lopay.com
Production Environment
https://api.lopay.com
POST
/api/1/partner/merchant/connect
Establishes a connection between a partner and merchant using a pairing code. The merchant must have generated the pairing code beforehand, and the code must be valid and not expired. Upon successful connection, returns the merchant details including business information, capabilities, payout schedule, and bank details.

Request

Authorization
or
Body Params application/json

Example
Use a pairing code to link to a merchant
{
    "code": "ABCD-EFGH-IJKL"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lopay.com/api/1/partner/merchant/connect' \
--header 'Content-Type: application/json' \
--data-raw '{
    "code": "ABCD-EFGH-IJKL"
}'

Responses

🟢200OK
application/json
OK response
Body

Example
{
    "id": "bab44203-030d-4f08-9bec-8df642fa4443",
    "legalBusinessName": "Jim's Jammy Jam Ltd",
    "tradingName": "Jim's Jammy Jam Ltd",
    "country": "GB",
    "owner": {
        "firstName": "Jim",
        "lastName": "Jammy",
        "email": "contact@jammyjam.com",
        "phoneNumber": "+447927987645"
    },
    "capabilities": {
        "paymentLinksEnabled": true,
        "foreignCardsEnabled": false
    },
    "payoutSchedule": {
        "accountType": "essential",
        "config": {
            "type": "monthly",
            "monthlyAnchor": 1
        },
        "paused": false
    },
    "bankDetails": {
        "sortCode": "****00",
        "accountNumber": "****2345",
        "accountHolderDetails": {
            "name": "Sweet Shop Consortium Ltd",
            "type": "company"
        }
    },
    "createdAt": "2025-07-21T08:33:07.061Z",
    "updatedAt": "2025-07-21T08:33:07.061Z"
}
🟠400Bad Request
🟠401Unauthorized
Modified at 2025-07-22 09:23:17
Previous
Register a new merchant
Next
Get merchant details
Built with