Braintree Payments
Get a Braintree Promo Code
Gets a Braintree promo code.
get/blaize/payment/braintree/promo-code
Request
- Base URL: https://demo-site
- URL: https://demo-site/blaize/payment/braintree/promo-code
- Auth: one of:
- API key in cookie blaize_session
- API key in query parameter jwt
- API key in header x-blaize-jwt
- API key in header x-zephr-jwt
- HTTP bearer
- API key in cookie blaize_jwt
Query parameters
codestring required
Promo code to lookup by ID.
paymentFormstring required
Payment form to lookup by slug.
Response
OK
Example response
{
"code": "promo-123",
"discount": 20,
"paymentOptions": [
{
"slug": "plan-123",
"currency": "$",
"pricePointId": "cost-123",
"originalPrice": 3.45,
"discountPrice": 2
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.