{
"description": "Standard Plan",
"reference": "PLAN#1",
"amount": {
"units": 1000,
"currencyCode": "GBP"
},
"frequency": "weekly",
"dataCollection": [
"name",
"email"
],
"taxes": [
{
"name": "VAT (20%)",
"inclusive": true,
"rate": "20.0"
}
]
}
curl --location --request POST 'https://api.lopay.com/api/1/partner/subscription-plan' \
--header 'x-merchant-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "Standard Plan",
"reference": "PLAN#1",
"amount": {
"units": 1000,
"currencyCode": "GBP"
},
"frequency": "weekly",
"dataCollection": [
"name",
"email"
],
"taxes": [
{
"name": "VAT (20%)",
"inclusive": true,
"rate": "20.0"
}
]
}'
{
"id": "bb9dd3d7-a832-40c0-842e-cb54e238225e",
"amount": {
"units": 1000,
"currencyCode": "GBP"
},
"frequency": "weekly",
"link": "https://lopay.app/00000/bb9dd3d7-a832-40c0-842e-cb54e238225e",
"reference": "PLAN#1",
"description": "Standard Plan",
"status": "active",
"dataCollection": [
"name",
"email"
],
"taxes": [
{
"name": "VAT (20%)",
"inclusive": true,
"rate": "20.0",
"amount": {
"units": 200,
"currencyCode": "GBP"
}
}
],
"returnUrl": null,
"createdAt": "2025-07-21T08:33:07.044Z",
"updatedAt": "2025-07-21T08:33:07.044Z"
}