Prerequisite :

Workflow – How to manage Registration for a Freemium Offer
proabono-workflow-1

Your site/service must interact with ProAbono only during the Activation Step.

Step 1 : Create/Declare your Customer

POST /Distribution/Customers
{
  "Name" :"Jane Smith",
  "Email" : "jane@smith.com",
  "ReferenceCustomer" : "1234567890"
}

Step 2 : Create the subscription based on the Freemium Offer

POST /Sub/Subscriptions
{
  "ReferenceOffer": "freemium",
  "ReferenceCustomer" : "1234567890"
}
Example Response 
{
  "Id": 149747, //Id of the Subscription is useful for the next step
  ...
}

Step 3 : Activate/Start the subscription of the Customer

PUT /Sub/Subscriptions/149747/StateSubscription
"Running"
API : See our online documentation at :
https://docs.proabono.com/api/