Public API reference
/v4 API
/- Get a Braintree Promo Code
Retrieve the Braintree token
Create a subscription charged callback
List the Braintree subscriptions of a user
Update the Braintree subscription
Cancel the Braintree subscription
Create a Braintree buy (one-off)
List Braintree payment methods
Create a new Braintree payment method.
Update a Braintree payment method
Delete the Braintree payment method
Set the default Braintree payment method
List all Braintree plans
List Braintree add-ons
Start the Braintree subscription (Deprecated)
Get a Braintree Promo Cod...
Gets a Braintree promo code.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/blaize/payment/braintree/promo-code
curl -i -X GET \
'https://demo-site/blaize/payment/braintree/promo-code?code=string&paymentForm=string' \
-b blaize_session=YOUR_API_KEY_HEREResponse
{ "code": "promo-123", "discount": 20, "paymentOptions": [ { … } ] }