Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

CreateBillingAgreementRequest

billingPlanIdstring
Required

Identifier for the associated billing plan.

Format:
uuid
subscriptionIdstring
Required

Identifier for the related subscription. Subscription must be in ACTIVE state.

Format:
uuid
Example:
null
referencestring
Nullable

Optional reference string.

Example:
"agreement-1"
nextChargeAtstring
Nullable

Date of the next scheduled charge. If none is given, the current date and interval from the plan is used to calculate the next charge date.

Format:
date
Example:
"2030-07-29"
CreateBillingAgreementRequest
{  "billingPlanId": "13568ff4-f6e3-4ead-8359-ef949748a0cf",  "subscriptionId": null,  "reference": "agreement-1",  "nextChargeAt": "2030-07-29"}