POST
/
disbursements
/
batch
/
getSummaryPaymentReceipt
Get Batch Summary Payment Receipt
curl --request POST \
  --url https://api.onekhusa.com/sandbox/v1/disbursements/batch/getSummaryPaymentReceipt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Merchant-Account-Number: <x-merchant-account-number>' \
  --header 'X-Organisation-Id: <x-organisation-id>' \
  --data '{
  "merchantAccountNumber": 35253486,
  "batchNumber": 20241013
}'
{
  "documentName": "Batch Summary Payment Receipt",
  "documentBase64": "JVBERi0xLjQKJcOkw7zDtsO...",
  "contentType": "application/pdf",
  "dateCreated": "2025-10-22"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <Token>, where <Token> is your access token.

Headers

X-Organisation-Id
string
required

The organization identifier

X-Merchant-Account-Number
string
required

The merchant account number

Accept-Language
string
default:en

Preferred language for the response

Body

application/json
merchantAccountNumber
integer
required

The merchant's account number

Example:

35253486

batchNumber
integer
required

The batch number for summary generation

Required range: 10000000 <= x <= 99999999
Example:

20241013

Response

200 - application/json

Success - Summary payment receipt generated

documentName
string

Name of the generated document

Example:

"Batch Summary Payment Receipt"

documentBase64
string

Base64 encoded PDF document

Example:

"JVBERi0xLjQKJcOkw7zDtsO..."

contentType
string

MIME type of the document

Example:

"application/pdf"

dateCreated
string<date>

Date when the receipt was created

Example:

"2025-10-22"