# API Integration

Follow the steps to start your Onboarding and API Integration:

{% stepper %}
{% step %}

### Log in to your Pivot account

[First login and setup account](/pivot-docs/quick-start/first-login-and-setup-account.md)
{% endstep %}

{% step %}

### Get your credentials

By visiting Settings > Developer Setting > [Credentials](https://dashboard.pivot-payment.com/setting/developer-setting/credentials)
{% endstep %}

{% step %}

### Set up IP Whitelist

By visiting Settings > Developer Setting > [IP Whitelist](https://dashboard.pivot-payment.com/setting/developer-setting/ip-whitelist)
{% endstep %}

{% step %}

### Set up your Callback endpoint

* Payment: [Payment Notify](/pivot-docs/payments/after-the-payment/payment-notify.md#create-a-callback-endpoint)
* Domestic Payout: [Payout Wehook](/pivot-docs/payouts/after-the-payout/domestic-payout/payout-wehook.md#create-a-webhook-endpoint)
  {% endstep %}

{% step %}

### Create your first API request

* Payment: [Accept Payment](/pivot-docs/payments/accept-payment.md)
* Domestic Payout: [Payout via API](/pivot-docs/payouts/payout-products/domestic-payout/payout-via-api.md)
  {% endstep %}
  {% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pivot-payment.gitbook.io/pivot-docs/for-developers/api-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
