cURL
curl --request GET \
--url https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID} \
--header 'Authorization: Basic <encoded-value>'const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Basic <encoded-value>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"id": "0f6a1c2d-8e4b-4a7c-9d3e-5b2f1a6c8d90",
"merchant_guid": "315564b9-b863-4016-8c53-02c9d8cc80b7",
"webhook_url": "https://your-app.example.com/paychoice/webhook",
"created_date": "2026-11-04T02:30:00.000Z",
"created_by": "agency-user",
"updated_date": null,
"updated_by": null,
"active": true
}
]
Webhooks
Retrieve webhooks for a merchant
GET
/
api
/
v5
/
merchantwebhooks
/
{merchantGUID}
cURL
curl --request GET \
--url https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID} \
--header 'Authorization: Basic <encoded-value>'const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Basic <encoded-value>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks/{merchantGUID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"id": "0f6a1c2d-8e4b-4a7c-9d3e-5b2f1a6c8d90",
"merchant_guid": "315564b9-b863-4016-8c53-02c9d8cc80b7",
"webhook_url": "https://your-app.example.com/paychoice/webhook",
"created_date": "2026-11-04T02:30:00.000Z",
"created_by": "agency-user",
"updated_date": null,
"updated_by": null,
"active": true
}
]
Returns the webhook registrations for a merchant as an array.
Requires agency-level credentials. A merchant-level credential receives HTTP
400.webhook_secret is not included.
[
{
"id": "0f6a1c2d-8e4b-4a7c-9d3e-5b2f1a6c8d90",
"merchant_guid": "315564b9-b863-4016-8c53-02c9d8cc80b7",
"webhook_url": "https://your-app.example.com/paychoice/webhook",
"created_date": "2026-11-04T02:30:00.000Z",
"created_by": "agency-user",
"updated_date": null,
"updated_by": null,
"active": true
}
]

