API reference

stripePublicKey

The stripePublicKey query. Returns String.

graphql
stripePublicKey: String

Returns

String — The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example

graphql
query StripePublicKey {
  stripePublicKey
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "query { stripePublicKey { __typename } }"}'