Create Subscriber
Creating a subscriber entails presenting a payment window to a payer and having him successfully enter his payment credentials. You cannot directly create a subscriber; it must be customer-initiated.
Request
This is the same request as the request to create a payment link with 2 key differences:
| JSON fields | Description |
|---|---|
"subscriber": {
"ref": "user7192"
}
| This object tells us that you want to create a subscriber. The object is required, but you can leave it empty.
|
"items": []
| This array may be omitted. If it is present it will generate an an initial charge. What this means is that along with verifying the payment credentials of the payer it will also automatically authorize the specified amount of money and create a charge. |