Skip to main content

Documentation Index

Fetch the complete documentation index at: https://apidocs.synchpay.dev/llms.txt

Use this file to discover all available pages before exploring further.

Use POST /Payment/Recurring to create a recurring payment plan for one of your companies.

Endpoint

  • URL: https://api.synchpay.com/Payment/Recurring
  • Method: POST
  • Authorization: Bearer <AccessToken>
The access token is obtained from /auth/token using your ClientId and ClientSecret.

Request Body

ParameterTypeDescriptionRequired
AmountintegerAmount to charge on each recurrence, in cents.Yes
StartDatestringFirst recurrence date in YYYY-MM-DD format.Yes
IntervalValueintegerNumber of units between recurring payments.Yes
IntervalUnitstringRecurrence unit: Day, Week, Month, Quarter, or Year.Yes
PhoneNumberstringPayer phone number. Use when RegistrationUserId is not provided.No
RegistrationUserIdstringSynchPay registered user ID. Use when PhoneNumber is not provided.No
CompanyIdstringSynchPay company ID.No
CompanyReferenceIdstringYour external company reference ID.No
Provide either PhoneNumber or RegistrationUserId so SynchPay can identify the payer. Use either CompanyId or CompanyReferenceId when the plan should be scoped to a specific company.

Example Request

{
  "Amount": 5000,
  "StartDate": "2026-07-01",
  "IntervalValue": 1,
  "IntervalUnit": "Month",
  "RegistrationUserId": "6e8d9257-bd5f-45cf-8f29-6d0ae8a6d991",
  "CompanyReferenceId": "loc-001"
}

Response

FieldTypeDescription
PaymentPlanIdstringUnique ID of the recurring payment plan.
{
  "PaymentPlanId": "d4e5f6a7-b8c9-0123-4567-89abcdef0123"
}

Frequency Examples

IntervalValueIntervalUnitResulting schedule
1MonthEvery month
2WeekEvery two weeks
1QuarterEvery quarter
7DayEvery seven days
Last modified on June 2, 2026