Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt

Use this file to discover all available pages before exploring further.

1. Create an API key

In Neuro Admin, go to: Company Admin → API keys From there you can:
  • create a Live or Test key,
  • optionally set an expiry date,
  • optionally restrict the key to specific allowed IPs,
  • copy the generated key value for your integration.

2. Choose the correct base URL

Use the following base URL for all API requests:
Production: https://api.neuro-admin.com

3. Send the API key as a bearer token

Authorization: Bearer <api_key>
Content-Type: application/json

4. Make your first request

A simple first request is creating a checkout customer. It confirms your key works and gives you a reusable customer_id for later checkout calls.
curl -X POST https://api.neuro-admin.com/checkout/create-customer \
  -H "Authorization: Bearer $NEURO_PAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Ada",
    "last_name": "Lovelace",
    "email": "ada@example.com"
  }'
Example response shape:
{
  "customer_id": "9a7991cb1e8e9f30911970e913ad4841",
  "first_name": "Ada",
  "last_name": "Lovelace",
  "email": "ada@example.com",
  "savedCards": []
}

5. Typical integration flow

For a hosted checkout integration, a common flow looks like this:
  1. Create or reuse a Neuro-Pay customer.
  2. Create a checkout.
  3. Redirect the buyer to the returned redirectUrl.
  4. Retrieve, capture, refund, or update the checkout as needed.

Next steps