PUT
/
v1
/
configure
/
stripe
curl --request PUT \
  --url https://sandbox.layerfi.com/v1/configure/stripe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "secret": "adspijzxvXZPIZfakeSecretAPSaspfkng"
}'
{
  "stripe_secret_last_4": "8765"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Body

application/json
secret
string

Secret to associate with the Stripe Connect account

Example:

"adspijzxvXZPIZfakeSecretAPSaspfkng"

Response

200 - application/json
stripe_secret_last_4
string

Last 4 digits of the stripe connect account

Example:

"8765"