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

Response

200 - application/json

The response is of type object.