This page will help you get started with Archetype.

Authentication

Authentication for the Archetype REST API is achieved by setting the Authorization header with a valid API key. You'll find two types of API keys in your Archetype dashboard: public and secret.

Certain endpoints require secret keys, which should be kept out of any publicly accessible areas such as GitHub, client-side code, and so forth.

Authorization Header

Authorization: Bearer YOUR_ARCHETYPE_API_KEY

Use the Archetype API if you don't want to use our SDKs or are unable to. If there is a new language you'd like us to support, email us with a request at [email protected]!

To get started, you'll need to register a new account with Archetype at app.archetype.dev and linked your Stripe account. Onboarding guide here: {}

Once you have a fully set up account go to app.archetype.dev/settings to retrieve your secret key. It can be found here

Payload

The body of the POST requests should be encoded in JSON and have the 'Content-Type' header set to 'application/json'.

Content-Type: application/json