Lopay Partner API
  1. Webhook subscriptions
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
    • Create webhook subscription
      POST
    • Update existing webhook subscription
      PUT
    • Remove an existing webhook subscription
      DELETE
  • Merchants
    • List all merchants
      GET
    • Register a new 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. Webhook subscriptions

Remove an existing webhook subscription

Production Environment
https://api.lopay.com
Production Environment
https://api.lopay.com
DELETE
/api/1/partner/webhooks/{id}
Webhook subscriptions

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params
id
string 
required
Webhook subscription id
Example:
ep_1srOrx2ZWZBpBUvZwXKQmoEYgab
Header Params
x-merchant-id
string <uuid>
Merchant ID
optional
If acting on behalf of a merchant, you will need to specify their merchant ID.

Request 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 DELETE 'https://api.lopay.com/api/1/partner/webhooks/' \
--header 'x-api-key;'

Responses

🟢204No Content
application/json
No content response
Body
object {0}
Example
{}
🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
Modified at 2025-06-04 16:00:16
Previous
Update existing webhook subscription
Next
List all merchants
Built with