# API: Create bulk payment
# addBulkPayInvoice
Merge multiple invoices to single bulk payment
# Required parameters
| Parameter | Description |
|---|---|
invoice_id | ID of the main invoice |
bulkselected[] | List of unpaid invoice IDs that can be merged with the main invoice. |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=addBulkPayInvoice&invoice_id=INVOICE_ID&bulkselected%5B%5D=BULKSELECTED%5B%5D
# PHP Samples
# Response
{
"success": true,
"invoice_id": 1234,
"call": "addBulkPayInvoice",
"server_time": 1737627000
}