Get Batch Details
curl --request GET \
--url https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId} \
--header 'x-api-key: <api-key>'import requests
url = "https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Batch retrieved successfully",
"data": {
"id": "08ddaf4f-77d9-4336-8e62-358d622f09e9",
"organizationId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"accountNumber": "1234567890",
"batchReference": "PAYROLL-2026-06",
"approvalStatus": "APPROVED",
"executionMode": "SCHEDULED",
"scheduleType": "DAILY",
"scheduledAt": "2026-06-05T09:00:00Z",
"recurrencePattern": "DAILY",
"recurrenceInterval": 1,
"recurrenceDays": "Mon,Tue,Wed,Thu,Fri",
"recurrenceEndAt": "2026-12-31T23:59:59Z",
"nextRunAt": "2026-06-06T09:00:00Z",
"lastRunAt": "2026-06-05T09:00:00Z",
"processingStatus": "COMPLETED",
"createdAt": "2026-06-01T09:00:00Z",
"updatedAt": "2026-06-05T09:00:00Z",
"isActive": true,
"totalRecipients": 100,
"totalAmount": 50000
}
}
Payment Scheduler
Get Batch Details
Fetches details for a single batch.
GET
/
api
/
v1
/
payment-scheduler
/
batch
/
{batchId}
Get Batch Details
curl --request GET \
--url https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId} \
--header 'x-api-key: <api-key>'import requests
url = "https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://waas-staging.embedly.ng/api/v1/payment-scheduler/batch/{batchId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Batch retrieved successfully",
"data": {
"id": "08ddaf4f-77d9-4336-8e62-358d622f09e9",
"organizationId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"accountNumber": "1234567890",
"batchReference": "PAYROLL-2026-06",
"approvalStatus": "APPROVED",
"executionMode": "SCHEDULED",
"scheduleType": "DAILY",
"scheduledAt": "2026-06-05T09:00:00Z",
"recurrencePattern": "DAILY",
"recurrenceInterval": 1,
"recurrenceDays": "Mon,Tue,Wed,Thu,Fri",
"recurrenceEndAt": "2026-12-31T23:59:59Z",
"nextRunAt": "2026-06-06T09:00:00Z",
"lastRunAt": "2026-06-05T09:00:00Z",
"processingStatus": "COMPLETED",
"createdAt": "2026-06-01T09:00:00Z",
"updatedAt": "2026-06-05T09:00:00Z",
"isActive": true,
"totalRecipients": 100,
"totalAmount": 50000
}
}
string
required
The unique identifier of the batch.
{
"statusCode": 200,
"message": "Batch retrieved successfully",
"data": {
"id": "08ddaf4f-77d9-4336-8e62-358d622f09e9",
"organizationId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"accountNumber": "1234567890",
"batchReference": "PAYROLL-2026-06",
"approvalStatus": "APPROVED",
"executionMode": "SCHEDULED",
"scheduleType": "DAILY",
"scheduledAt": "2026-06-05T09:00:00Z",
"recurrencePattern": "DAILY",
"recurrenceInterval": 1,
"recurrenceDays": "Mon,Tue,Wed,Thu,Fri",
"recurrenceEndAt": "2026-12-31T23:59:59Z",
"nextRunAt": "2026-06-06T09:00:00Z",
"lastRunAt": "2026-06-05T09:00:00Z",
"processingStatus": "COMPLETED",
"createdAt": "2026-06-01T09:00:00Z",
"updatedAt": "2026-06-05T09:00:00Z",
"isActive": true,
"totalRecipients": 100,
"totalAmount": 50000
}
}
⌘I