Lopay Partner API
  1. Subscription Plans
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
      POST
    • List all subscription plans
      GET
    • Get existing subscription plan
      GET
  • Subscriptions
    • Get existing subscription
  1. Subscription Plans

Get existing subscription plan

Production Environment
https://api.lopay.com
Production Environment
https://api.lopay.com
GET
/api/1/partner/subscription-plan/{id}
Subscription Plans

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params
id
string <uuid>
required
Subscription plan ID (UUID)
Header Params
x-merchant-id
string <uuid>
Merchant ID
required
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 GET 'https://api.lopay.com/api/1/partner/subscription-plan/' \
--header 'x-merchant-id;' \
--header 'x-api-key;'

Responses

🟢200OK
application/json
OK response
Body
id
string <uuid>
required
merchantId
string <uuid>
required
status
enum<string> 
required
Allowed values:
activedeactivatedcancelled
deactivatedAt
string  | null 
required
dataCollection
array[string]
required
Allowed values:
namebusinessNamephoneNumberemailaddress
amount
object 
required
units
integer 
required
currencyCode
enum<string> 
required
Allowed values:
GBPUSDEURDKK
frequency
enum<string> 
required
Allowed values:
weeklymonthlyyearly
numberOfPayments
number  | null 
required
reference
string 
required
description
string  | null 
required
link
string <uri>
required
taxes
array [object {3}] 
required
name
string 
required
inclusive
boolean 
required
amount
object 
required
returnUrl
string <uri> | null 
required
createdAt
string 
required
updatedAt
string 
required
Example
{
    "id": "05d8c867-c21f-4c7d-a028-cbb04fe77ec1",
    "merchantId": "580b7a17-35c1-4936-81cd-25a4766d8885",
    "status": "active",
    "deactivatedAt": null,
    "dataCollection": [
        "name",
        "email"
    ],
    "amount": {
        "units": 1000,
        "currencyCode": "GBP"
    },
    "frequency": "weekly",
    "numberOfPayments": null,
    "reference": "PLAN#1",
    "description": "Standard Plan",
    "link": "https://lopay.app/00000/05d8c867-c21f-4c7d-a028-cbb04fe77ec1",
    "taxes": [],
    "returnUrl": null,
    "createdAt": "2025-06-02T10:59:51.708Z",
    "updatedAt": "2025-06-02T10:59:51.708Z"
}
🟠401Unauthorized
🟠404Record Not Found
🔴500Server Error
Modified at 2025-06-04 16:00:26
Previous
List all subscription plans
Next
Get existing subscription
Built with