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

GETPOST

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

...

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

GET POST v9/clients/1234567/braintree_client_token

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

...