Get Payment Schedule by Id
GET
https://beta-api.monoova.com/au/payto/pam-v1/PaymentSchedule/{scheduleId}
Path Parameters
- scheduleIdstringrequiredExampleDescriptionDefaultMONSCH12345Pattern^[a-zA-Z0-9_-]{1,36}$
Responses
200
- MandateManager.Application.PaymentSchedules.Dto.GetPaymentScheduleByIdResponseDescription
- traceIdstringExampleDescriptionDefault1dabfaa9-abe8-4d2d-a69a-b723079d84edPattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- scheduleDetailsMandateManager.Application.PaymentSchedules.Dto.PaymentScheduleDtoOutDescription
- createdDateTimestringExampleDescriptionDefault2026-10-16T04:40:12.512ZPattern^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d{1,7})?(Z|[+-]([01]\d|2[0-3])(:?[0-5]\d)?)?$
- lastModifiedDateTimestringExampleDescriptionDefault2027-01-14T22:00:03.118ZPattern^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d{1,7})?(Z|[+-]([01]\d|2[0-3])(:?[0-5]\d)?)?$
- scheduleIdstringExampleDescriptionDefaultMONSCH12345Pattern^[a-zA-Z0-9_-]{1,36}$
- entityIdstringExampleDescriptionDefaultMONPAG12345Pattern^[a-zA-Z0-9_-]{1,35}$
- entityTypestringExampleDescriptionDefaultPaymentAgreementPattern^(PaymentAgreement)$
- startDatestringExampleDescriptionDefault2027-01-15Pattern^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$
- endDatestringExampleDescriptionDefault2027-12-15Pattern^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$
- executionTimestringExampleDescriptionDefault09:00:00Pattern^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$
- frequencystringExampleDescriptionDefaultMNTHPattern^(ADHO|DAIL|FRTN|INDA|MIAN|MNTH|QURT|WEEK|YEAR)$
- scheduledAmountnumber<double>ExampleDescriptionDefault50FormatdoublePattern^[0-9]{1,16}(\.[0-9]{1,2})?$
- totalInstancesinteger<int32>ExampleDescriptionDefault12Formatint32Pattern^[1-9][0-9]*$
- totalAmountnumber<double>ExampleDescriptionDefault600FormatdoublePattern^[0-9]{1,16}(\.[0-9]{1,2})?$
- lastExecutionDateTimestringExampleDescriptionDefault2027-01-14T22:00:00ZPattern^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d{1,7})?(Z|[+-]([01]\d|2[0-3])(:?[0-5]\d)?)?$
- nextExecutionDateTimestringExampleDescriptionDefault2027-02-14T22:00:00ZPattern^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d{1,7})?(Z|[+-]([01]\d|2[0-3])(:?[0-5]\d)?)?$
- statusstringExampleDescriptionDefaultActivePattern^(Pending|Active|Paused|Cancelled)$
- statusDescriptionstringExampleDescriptionDefaultActivePattern^.+$
- statusReasonCodestringExampleDescriptionDefaultCustReqPattern^(CustReq|CreateError|Expired|AgreementStatusChanged|InvalidPayeeDetails|BilateralAmendmentInitiated|MaxedOutTotalInstanceLimit|MaxedOutTotalAmountLimit|ExceededScheduleEndDate|FinalPaymentInitiated|SchedulingDisabled)$
- statusReasonDescriptionstringExampleDescriptionDefaultRequested by customerPattern^.+$
- paymentReferencestringExampleDescriptionDefaultABC Corp monthly subscriptionPattern^[ -~]{1,280}$
400
- MandateManager.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAM_SCHEDID_INVALID", "errorMessage": "scheduleId MONSCH#12345 must match ^[a-zA-Z0-9_-]{1,36}$" } ] }Description- traceIdstringExampleDescriptionDefault4ea61012-2d9b-413d-a5b4-90ad69a68741Pattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- errorsMandateManager.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAM_STARTDATE_EARLYPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.startDate must be future datePattern^.+$
401
403
- MandateManager.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAM_FORBIDDEN_ERROR", "errorMessage": "Not allowed to get payment schedule for account 6279059778044302" } ] }Description- traceIdstringExampleDescriptionDefault4ea61012-2d9b-413d-a5b4-90ad69a68741Pattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- errorsMandateManager.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAM_STARTDATE_EARLYPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.startDate must be future datePattern^.+$
404
- MandateManager.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAM_SCHED_NOT_FOUND_ERROR", "errorMessage": "PaymentSchedule not found for ScheduleId MONSCH12345" } ] }Description- traceIdstringExampleDescriptionDefault4ea61012-2d9b-413d-a5b4-90ad69a68741Pattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- errorsMandateManager.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAM_STARTDATE_EARLYPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.startDate must be future datePattern^.+$
500
- MandateManager.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAM_UNEXPECTED_ERROR", "errorMessage": "Internal server error. Please contact Monoova support." } ] }Description- traceIdstringExampleDescriptionDefault4ea61012-2d9b-413d-a5b4-90ad69a68741Pattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- errorsMandateManager.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAM_STARTDATE_EARLYPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.startDate must be future datePattern^.+$
502
- MandateManager.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAM_SCHEDULER_ERROR", "errorMessage": "Error returned from scheduler service - service unavailable" } ] }Description- traceIdstringExampleDescriptionDefault4ea61012-2d9b-413d-a5b4-90ad69a68741Pattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- errorsMandateManager.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAM_STARTDATE_EARLYPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.startDate must be future datePattern^.+$
503
504
- MandateManager.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAM_SCHEDULER_TIMEOUT", "errorMessage": "Timeout from scheduler service" } ] }Description- traceIdstringExampleDescriptionDefault4ea61012-2d9b-413d-a5b4-90ad69a68741Pattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- errorsMandateManager.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAM_STARTDATE_EARLYPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.startDate must be future datePattern^.+$
curl
curl --request GET \
--url https://beta-api.monoova.com/au/payto/pam-v1/PaymentSchedule/{scheduleId} \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://beta-api.monoova.com/au/payto/pam-v1/PaymentSchedule/{scheduleId}", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://beta-api.monoova.com/au/payto/pam-v1/PaymentSchedule/{scheduleId}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://beta-api.monoova.com/au/payto/pam-v1/PaymentSchedule/{scheduleId}"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// OK. Returns the payment schedule.
{
"traceId": "1dabfaa9-abe8-4d2d-a69a-b723079d84ed",
"scheduleDetails": {
"createdDateTime": "2026-10-16T04:40:12.512Z",
"lastModifiedDateTime": "2027-01-14T22:00:03.118Z",
"scheduleId": "MONSCH12345",
"entityId": "MONPAG12345",
"entityType": "PaymentAgreement",
"startDate": "2027-01-15",
"endDate": "2027-12-15",
"executionTime": "09:00:00",
"frequency": "MNTH",
"scheduledAmount": 50,
"totalInstances": 12,
"totalAmount": 600,
"lastExecutionDateTime": "2027-01-14T22:00:00Z",
"nextExecutionDateTime": "2027-02-14T22:00:00Z",
"status": "Active",
"statusDescription": "Active",
"statusReasonCode": "CustReq",
"statusReasonDescription": "Requested by customer",
"paymentReference": "ABC Corp monthly subscription"
}
}400
// Bad Request. The request failed validation. See errors for details.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAM_STARTDATE_EARLY",
"errorMessage": "paymentDetails.startDate must be future date"
}
]
}401
// Unauthorized. The bearer token is missing, invalid or expired. Bearer tokens are valid for 24 hours; generate a new token and retry.
403
// Forbidden. Your account is not permitted to perform this operation.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAM_STARTDATE_EARLY",
"errorMessage": "paymentDetails.startDate must be future date"
}
]
}404
// Not Found. The payment schedule could not be found.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAM_STARTDATE_EARLY",
"errorMessage": "paymentDetails.startDate must be future date"
}
]
}500
// Internal Server Error. An unexpected error occurred. Contact Monoova support if the problem persists.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAM_STARTDATE_EARLY",
"errorMessage": "paymentDetails.startDate must be future date"
}
]
}502
// Bad Gateway. An upstream service, such as the NPP gateway, returned an error. Retry the request later.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAM_STARTDATE_EARLY",
"errorMessage": "paymentDetails.startDate must be future date"
}
]
}503
// Service Unavailable. The service is temporarily unavailable. Retry the request later.
504
// Gateway Timeout. An upstream service, such as the NPP gateway, did not respond in time. Retry the request later.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAM_STARTDATE_EARLY",
"errorMessage": "paymentDetails.startDate must be future date"
}
]
}