Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Requires Braintree Gateway Integration

You must have an active account with our Braintree Gateway which allows storage and handling of credit cards in a PCI Compliant manner utilizing Braintree's Secure Vault.

Braintree also has extensive documentation for testing credit cards in Sandbox which details how you can use different card numbers and amounts to simulate various scenarios. 

Parameters

...

Name

Description

Type

Presence

Location

Limitations

client_id

ID of the Client for which to retrieve a Braintree Client Token

Integer

Required

URI

Info

Note that this endpoint is a POST so that in the future additional parameters may be accepted in the POST body.

Examples

Request

Response

POST v9/clients/1234567/braintree_client_token

Code Block
languagejson
{
  "client_token": "zhJ2ZXJzaW9uI… …b0NvZGUiOiJVU0QifX0="
}

...