v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
Braintree Payments

Get a Braintree Promo Code

Gets a Braintree promo code.

get/blaize/payment/braintree/promo-code

Query parameters

codestring required

Promo code to lookup by ID.

paymentFormstring required

Payment form to lookup by slug.

Response

OK

codestring required

The promo code identifier.

discountnumber required

The discount amount.

Example response

{
  "code": "promo-123",
  "discount": 20,
  "paymentOptions": [
    {
      "slug": "plan-123",
      "currency": "$",
      "pricePointId": "cost-123",
      "originalPrice": 3.45,
      "discountPrice": 2
    }
  ]
}