Create Subscription
Key details of the API
https://api.sandbox.irembopay.com/subscritpionshttps://api.irembopay.com/subscritpionsirembopay-secretKey: secreKey
X-API-Version: 2Create a subscription api reference
Name
Value
Field
Type
Mandatory
Comment (Description)
Response body payload
Field
Type
Mandatory
Comment (Description)
Error codes
HTTP Status
Code/Key
Comment (Description)
Open API Sample
Authorizations
X-IREMBOPAY-AUTHORIZATIONstringRequired
Header parameters
X-API-VersionstringRequiredDefault:
API version number (e.g., 2)
2Body
paymentAccountIdentifierstringRequiredExample:
Identifier of the Payment Account where the money will be Deposited
1234567890customerIdstring · uuidOptionalExample:
Customer UUID
4380539a-a689-4552-a982-119f1dff1ce3customerEmailstring · emailOptionalExample:
Customer email
user@mail.comcustomerPhoneNumberstringOptionalExample:
A valid Phone Number of the Customer
0781234567startDatestring · date-timeRequiredExample:
Subscription start date
2024-09-01T10:00:00.000+02endDatestring · date-timeOptionalExample:
Subscription end date (optional)
2024-12-31T23:59:59.000+02frequencystring · enumRequiredExample:
Billing frequency
MONTHLYPossible values: amountnumber · min: 1RequiredExample:
Total subscription amount
10000remindAfterinteger · min: 1RequiredExample:
Number of days after failed invoice to send a reminder
2notificationPreferencestring · enumRequiredExample:
Preference of notifications to be sent
ALLPossible values: Responses
201
Subscription created successfully
application/json
400
Bad request
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
post
/subscriptionsLast updated