> For the complete documentation index, see [llms.txt](https://pivot-payment.gitbook.io/pivot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pivot-payment.gitbook.io/pivot-docs/api-references/api-lists/account-and-balance/sub-account-management/sub-account-activation-callback.md).

# Sub-account Activation Callback

## Method and URL

<mark style="color:green;">`POST`</mark> [www.yourcompany.com/payment\\\_callback\\\_url](http://www.yourcompany.com/payment\\_callback\\_url)

## Request

**Header Request**

<table><thead><tr><th>Parameter </th><th width="117">Data Type</th><th width="131">Requirement</th><th>Description</th></tr></thead><tbody><tr><td>X-API-Key</td><td>String</td><td>M</td><td>Callback API Key, an additional API Key used specifically for receiving callbacks</td></tr><tr><td>Content-Type</td><td>String</td><td>M</td><td>application/JSON</td></tr><tr><td>Accept</td><td>String</td><td>M</td><td>application/JSON</td></tr></tbody></table>

**Request Body**

```json
{
  "event": "SUB.ACTIVATION.APPROVED",
  "data": {
    "subAccountId": "d8361719-290b-4b80-8e75-8329321a4000",
    "subAccountStatus": "ACTIVE",
    "subAccountKycStatus": "APPROVED",
    "updatedAt": "2024-03-15T09:37:00Z"
  }
}
```

**Detail Parameter Request**

<table><thead><tr><th width="196.24609375">Parameter</th><th width="120">Data Type</th><th width="131.12060546875">Requirement</th><th width="279.8203125">Description</th></tr></thead><tbody><tr><td>event</td><td>String</td><td>M</td><td><p>List of Event Names:</p><ol><li>SUB.ACTIVATION.PENDING</li><li>SUB.ACTIVATION.REJECTED</li><li>SUB.ACTIVATION.APPROVED</li></ol></td></tr><tr><td>data</td><td>Object</td><td>M</td><td><a data-mention href="/pages/DapgzASTsSP7NRslMjME">/pages/DapgzASTsSP7NRslMjME</a></td></tr></tbody></table>
