> For the complete documentation index, see [llms.txt](https://startbutton.gitbook.io/startbutton-product-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://startbutton.gitbook.io/startbutton-product-api/getting-started/make-your-first-request.md).

# Make your first request

This walks through your first successful call: initializing a payment.

1. Get your **public key** from Settings → API Keys (see [Authentication](/startbutton-product-api/getting-started/authentication.md)).
2. Send a `POST` request to `{{baseurl}}/transaction/initialize`.

   | Header        | Value              |
   | ------------- | ------------------ |
   | Authorization | Bearer PUBLIC\_KEY |

   *(Find sample payload -->* [Accept Payments — Overview](/startbutton-product-api/collections/accept-payments-overview.md)*)*
3. A successful call returns an authorization URL for the customer to complete payment.
4. Once the customer completes (or abandons) the transaction, you'll receive a webhook — see [Overview & Verification](/startbutton-product-api/webhooks/overview-and-verification.md).
5. You can also review expected transaction statuses here —> [Transaction Statuses](/startbutton-product-api/collections/transaction-statuses.md).
