v1
latestOpenAPI 3.0.02026-08-0610682246.0 KBBraintree Payments
Create a Braintree buy (one-off)
Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer and issue a one-off payment. When braintree responds successfully, the logged-in user will be granted all entitlements in the product's associated bundle.
post/blaize/payment/braintree/buy
Headers
cookiestring
The session cookie.
Request body
Example request
{
"product_id": "lifetime-membership",
"price_point_id": "gold-package",
"payment_nonce": "eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ=="
}Response
OK
Example response
{
"grant_id": "aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5"
}