Versions Compared

Key

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

...

Page Properties


Name

Clients / Braintree Client Token

Description

Retrieve a Braintree Client Token for use with their Drop-In UI or Hosted Fields

Type

GET

URL

/v9/clients/:client_id/braintree_client_token

Credential Type

API|User


Description

Retrieve a Braintree Client Token for use with their Drop-In UI or Hosted Fields for securely tokenizing a customer’s credit card.

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

None

Examples

Request

Response

GET v9/clients/1234567/braintree_client_token

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

...