API Reference

Buyer object

A buyer is a customer who buys or subscribes to your products. When subscribing to any of your products, the buyer's email and name will be asked. And in case the product has extra fields, they will also be requested when subscribing to the product.

{
    "buyer": {
        "name": "Jhon Smith",
        "email": "[email protected]",
        "external_id": "customer001"
    }
}

Attributes

The attributes available to a Buyer object are:

NameTypeDescriptionRequired
idstringBuyer unique identifier.false
namestringName of the Buyer you want to create.false
emailstringThe customer's email to which will be notified for payments.true
external_idstringAn external id to identify the Buyer.false