v1
latestOpenAPI 3.0.02026-08-0610682246.0 KBBraintree Payments
Start the Braintree subscription (Deprecated)
** (Deprecated - use the "/zephr/subscribe" operation intead)** Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer in with a recurring payment. When braintree responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle.
post/blaize/payment/braintree/subscribe
Headers
cookiestring
The session cookie.
Request body
Example request
{
"product_id": "premium-access-monthly-recurring",
"payment_nonce": "eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ==",
"skip_trial_period": true,
"start_date": "2021-01-01T00:00:00Z"
}Response
OK
Example response
{
"grant_id": "33d576c7-d036-40e7-8141-8a91998a5c79"
}