Parameters
The unique identifier of the points product to be purchased.
Required if the points product being purchased has a variable exchange type. In that case, the options object must contain a
points_to_spend attribute whose value is the number of points that the customer is spending on the points product.Returns
This method returns aPromise that:
- On success, resolves with a points purchase object.
- On failure, resolves with an error object.
Promise will be rejected.