Description
Retrieve a Braintree Client Token for use with their Drop-In UI or Hosted Fields for securely tokenizing a customer’s credit card.
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 |
---|---|---|---|---|---|
| The ID of the Office for the Braintree Gateway account you wish to use | Integer | Required | URI |
Examples
Request | Response |
---|---|
| { "client_token": "zhJ2ZXJzaW9uI… …b0NvZGUiOiJVU0QifX0=" } |