> For the complete documentation index, see [llms.txt](https://docs.payengine.co/developer-docs-v2.5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payengine.co/developer-docs-v2.5/merchant-onboarding/onboarding-to-partner-relationships.md).

# Onboarding to Partner Relationships

1. If you would like to use the integration to onboard merchants to your own gateway/processor relationships, let your customer success representative know and they will enable this feature in your partner console.
2. Once enabled, you will be able to go into the Accounts section, select and add gateway/processor credentials.
3. You would then use the [onboarding APIs or web components](/developer-docs-v2.5/integration-options.md) to submit the application.
4. You would be able to utilize the [Merchant\_Status\_Changed](/developer-docs-v2.5/merchant-onboarding/merchant-onboarding-apis.md) webhook to get updates on status of merchant application. When the status changes to active the webhook will post the following data.

```json
{
  event_uid: '43ab1219e4eab0809528a211c115f099',
  event: 'MERCHANT_STATUS_CHANGED',
  data: {
    id: 'c404d923-226f-4aae-92da-22c1ef370434',
    status: 'active',
    account_id: 'e90c1de6-4e87-4c9e-bcbc-c535d6e349ec',
    merchant_id: 'c404d923-226f-4aae-92da-22c1ef370434',
    credential_id: 'aba76907-2a1a-41cf-8501-5cd4ba1ff400'
  }
}
```

5. Upon activation of merchant you can utilize the API endpoint `/api/merchants/:id/credentials` to retrieve [merchant gateway credentials](https://docs.paymentplatform.dev/payengine-api-v2.5/onboarding/merchant-credentials).
