Payment plans
Create and track payment plans with automatic reminders using the Callpme API.
List payment plansLink to this section
GET/api/v1/payment-plans
Common parameters: limit (1 to 100, default 50), cursor, created_after, created_before. See Pagination. Filters: status (active, completed, cancelled), customerPhone.
Create a payment planLink to this section
POST/api/v1/payment-plans
| Field | Type | Description |
|---|---|---|
agentId (required) | string | Agent in charge of reminders |
customerName (required) | string, 1 to 120 | Customer name |
customerPhone (required) | string | Customer phone number |
reference (required) | string, 1 to 120 | Reference, unique within your account |
installments | array | 1 to 24 installments { dueDate: YYYY-MM-DD, amount } |
totalAmount, count, firstDueDate, frequency | — | Alternative to installments: amount split into count installments (1 to 24), monthly (default) or weekly |
timezone | IANA string | Time zone for reminders |
reminders | object | Reminder steps (SMS, WhatsApp, payment request, call), time window and days |
curl -X POST "https://callpme.com/api/v1/payment-plans" \
-H "Authorization: Bearer $CALLPME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agentId": "cm4agent03",
"customerName": "Paul Mensah",
"customerPhone": "+22997000000",
"reference": "LOAN-2026-0042",
"totalAmount": 300000,
"count": 3,
"firstDueDate": "2026-12-05"
}'A reference already in use returns 409. The currency is that of your merchant account.
Retrieve a payment planLink to this section
GET/api/v1/payment-plans/{id}
Returns the payment plan and its reminder history.
Related events: payment_plan.installment_paid, payment_plan.overdue, payment_plan.completed.