Skip to content

Set Callback URL ​

Pine Labs provides an API endpoint that allows for programmatic configuration of your Callback URL. This method is ideal for automated setups, dynamic URL management, or integration into your own administrative interfaces.

TIP

You can also configure your callback URL from the Dashboard UI.

API Endpoint ​

http
POST https://api.iimmpact.com/v2/callback-url

Request Headers ​

HeaderDescriptionRequired
X-Api-KeyYour API keyYes
X-TimestampUnix timestamp in secondsYes
X-NonceUnique request identifierYes
X-SignatureHMAC-SHA256 signature (v1=...)Yes

See API Key Authentication for how to sign your requests.

Request Parameters (Query String) ​

INFO

This endpoint accepts parameters as query string parameters, not a JSON request body.

Example: POST /v2/callback-url?url=https://yourdomain.com/webhook&method=POST

ParameterTypeRequiredDescription
urlstringYesYour callback endpoint URL. Must be a valid absolute HTTP or HTTPS URL
methodstringYesHTTP method for the callback: GET or POST

Response 200 ​

FieldTypeDescription
dataobjectResponse data
data.StatusstringOperation result (e.g., Success)
data.CallbackUrlstringThe callback URL that was set
data.MethodstringHTTP method for callbacks: GET or POST
@metadataobjectResponse metadata
@metadata.status_codenumberHTTP status code
@metadata.last_updatedstringTimestamp of the response (GMT+8). Format: dd-MM-yyyy HH:mm:ss

Example Response:

json
{
  "data": {
    "Status": "Success",
    "CallbackUrl": "https://google.com",
    "Method": "POST"
  },
  "@metadata": {
    "status_code": 200,
    "last_updated": "21-05-2025 14:02:56"
  }
}

Pine Labs API Documentation