POST https://sandbox.payme.io/api/partner/api/income-documents/hooksPOST https://live.payme.io/api/partner/api/income-documents/hooksNo credentials are documented for this endpoint.
Test endpoint to verify webhook connectivity. Returns OK status.
This endpoint takes no path, query or header parameters.
Content type: application/json
curl -X POST 'https://sandbox.payme.io/api/partner/api/income-documents/hooks' \
-H 'Content-Type: application/json' \
--data-raw '{}'
const response = await fetch("https://sandbox.payme.io/api/partner/api/income-documents/hooks", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
console.log(await response.text());
import requests
response = requests.post(
"https://sandbox.payme.io/api/partner/api/income-documents/hooks",
json={},
)
print(response.text)
<?php
$body = <<<'BODY'
{}
BODY;
$ch = curl_init('https://sandbox.payme.io/api/partner/api/income-documents/hooks');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
| Field | Type | Description |
|---|---|---|
status |
string |