Skip to main content
POST
Authorize a Braintree transaction

Path Parameters

cart_token
string
required

Opaque cart token returned by the create-cart response. It scopes the request to a single cart and is the credential for these endpoints — cart-token authentication carried in the path, with no bearer token or API key.

Body

application/json
payment_method_nonce
string
required

Nonce from the Braintree JS SDK.

payment_account_id
string
required

Braintree PaymentAccount UUID.

device_data
string

Braintree Data Collector fraud fingerprint.

payment_type
string

Payment type override (e.g. venmo, braintree_paypal).

payer_email
string
shipping_address
object

Response

Transaction authorized

Success body for a Braintree authorization.

transaction_id
string
required

Braintree transaction id for the authorized charge; the vault context is stored on the cart and the PaymentMethod is created later via the payment_method endpoint.

payment_type
string
required

Detected payment type (e.g. braintree_paypal, venmo).

meta
object
required

Standard response metadata included on every response.