Add customers to Plutto 👥

In this step we'll add your customers to Plutto so we can subscribe them to one of your plans later.

📘

We strongly recommend using our api for this process

Although it can be made using our platform

All api calls require Authorization to work properly.

Creating your customers is simple. Just make the following POST

curl --request POST \
     --url https://sandbox.getplutto.com/api/v1/customers \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer <your-api-key>' \
     --header 'Content-Type: application/json' \
     --data '
{
     "email": "[email protected]",
     "name": "Example Customer",
     "identifier": "<customer id on your db>",
     "billing_information": {
        "country_iso_code": "US"
     }
}
'

Consider sending the field identifier with the customer id in your database. That way it's easier for you to find customers. In case the identifier field is empty, you'll have to use the id provided by us in order to find a customer.

For making things easier when generating invoices, you have to send the customer's billing information with at least the country_iso_code. You can also send more data. Check creating a customer.