Create Payment Instruction Async
POST
https://beta-api.monoova.com/au/payto/pas-v1/PaymentInstructionAsync
Body Parameters
- bodyPAS.Application.Common.Dtos.InitiateMandatePaymentDtorequiredDescription
- paymentAgreementUIDstringrequiredExampleDescriptionDefaultMONPAG12345Pattern^[a-zA-Z0-9_-]{1,35}$
- paymentInitiationUIDstringrequiredExampleDescriptionDefaultMONPIR12345Pattern^[a-zA-Z0-9_-]{1,35}$
- payeeDetailsPAS.Application.Common.Dtos.PayeeDetailsDtoDescription
- payeeTypestringExampleDescriptionDefaultORGNPattern^(ORGN|PERS)$
- payeeLinkedBsbstringExampleDescriptionDefault062000Pattern^[0-9]{3}-?[0-9]{3}$
- payeeLinkedAccountstringExampleDescriptionDefault12345678Max Length28Pattern^[0-9A-Za-z -]{1,28}$
- payeeLinkedPayIdstringExampleDescriptionDefaultPattern^[ -~]{1,256}$
- payeeLinkedPayIdTypestringExampleDescriptionDefaultEmailPattern^(PhoneNumber|Email|ABN|ACN|OrganisationId)$
- payeeAccountNamestringExampleDescriptionDefaultABC Corp Pty LtdMin Length1Max Length140Pattern^[ -~]{1,140}$
- ultimatePayeestringExampleDescriptionDefaultABC CorpMin Length1Max Length140Pattern^[ -~]{1,140}$
- payeeMCCCodestringExampleDescriptionDefault5968Pattern^[0-9]{4}$
- ultimatePayeeMCCCodestringExampleDescriptionDefault5968Pattern^[0-9]{4}$
- paymentDetailsPAS.Application.Common.Dtos.PaymentInitiationDetailsDtorequiredDescription
- amountstringrequiredExampleDescriptionDefault50.00Pattern^(?=.{1,19}$)(?=.*[1-9])[0-9]{0,18}(\.[0-9]{0,2})?$
- isLastPaymentbooleanDescriptionDefaultfalsePattern^(true|false)$
- lodgementReferencestringExampleDescriptionDefaultINV-2026-000123Min Length1Max Length280Pattern^[ -~]{1,280}$
- uniqueSuperAnnuationCodestringExampleDescriptionDefaultUSIPattern^[ -~]{1,35}$
- uniqueSuperAnnuationIdentificationstringExampleDescriptionDefaultABC0001AUPattern^[ -~]{1,35}$
- payrollPaymentDatestringExampleDescriptionDefault2026-11-13Pattern^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
- subMerchantIdstringExampleDescriptionDefault93bf57eb1e2c42cf8101509b4356741ePattern^[ -~]{1,35}$
- batchInformationPAS.Application.Common.Dtos.BatchInformationDtoDescription
- clientBatchIdentificationstringrequiredExampleDescriptionDefaultMONBAT12345Pattern^[a-zA-Z0-9_-]{1,40}$
- batchBookingIndicatorbooleanDescriptionDefaultfalsePattern^(true|false)$
- numberOfTransactionsstringExampleDescriptionDefault3Pattern^[0-9]{1,15}$
- batchAmountstringExampleDescriptionDefault150.00Pattern^(?=.{1,19}$)(?=.*[0-9])[0-9]{0,18}(\.[0-9]{0,2})?$
- batchIdExpirystringExampleDescriptionDefault2026-11-30T23:59:59+11:00Pattern^\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)?)?$
Responses
202
- PAS.Application.Common.Dtos.AsyncResponseDescription
- 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}$
- uniqueRequestIdstringExampleDescriptionDefault595a3202-e9aa-406e-a2a3-5efb6ca8b72aPattern^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
400
- PAS.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAS_AMT_INVALID", "errorMessage": "paymentDetails.amount is invalid - 0.00" } ] }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}$
- errorsPAS.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAS_AMT_REQUIREDPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.amount is requiredPattern^.+$
401
403
- PAS.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAS_FORBIDDEN_ERROR", "errorMessage": "Not allowed to create payment instruction 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}$
- errorsPAS.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAS_AMT_REQUIREDPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.amount is requiredPattern^.+$
404
- PAS.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAS_ACCT_NOT_FOUND_ERROR", "errorMessage": "Account not found for AccountId 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}$
- errorsPAS.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAS_AMT_REQUIREDPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.amount is requiredPattern^.+$
500
- PAS.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAS_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}$
- errorsPAS.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAS_AMT_REQUIREDPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.amount is requiredPattern^.+$
502
- PAS.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAS_NPP_GATEWAY_ERROR", "errorMessage": "Error returned from NPP gateway - 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}$
- errorsPAS.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAS_AMT_REQUIREDPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.amount is requiredPattern^.+$
504
- PAS.Application.Common.Dtos.ErrorResponseExample
{ "traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741", "errors": [ { "errorCode": "PAS_NPP_GATEWAY_TIMEOUT", "errorMessage": "Timeout calling NPP gateway" } ] }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}$
- errorsPAS.Application.Common.Dtos.ErrorDto[]Description
- errorCodestringExampleDescriptionDefaultPAS_AMT_REQUIREDPattern^[A-Z]{3}_[A-Z0-9_]+$
- errorMessagestringExampleDescriptionDefaultpaymentDetails.amount is requiredPattern^.+$
curl
curl --request POST \
--url https://beta-api.monoova.com/au/payto/pas-v1/PaymentInstructionAsync \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
"paymentAgreementUID": "MONPAG12345",
"paymentInitiationUID": "MONPIR12345",
"payeeDetails": {
"payeeType": "ORGN",
"payeeLinkedBsb": "062000",
"payeeLinkedAccount": "12345678",
"payeeLinkedPayId": "[email protected]",
"payeeLinkedPayIdType": "Email",
"payeeAccountName": "ABC Corp Pty Ltd",
"ultimatePayee": "ABC Corp",
"payeeMCCCode": "5968",
"ultimatePayeeMCCCode": "5968"
},
"paymentDetails": {
"amount": "50.00",
"lodgementReference": "INV-2026-000123",
"uniqueSuperAnnuationCode": "USI",
"uniqueSuperAnnuationIdentification": "ABC0001AU",
"payrollPaymentDate": "2026-11-13",
"subMerchantId": "93bf57eb1e2c42cf8101509b4356741e"
},
"batchInformation": {
"clientBatchIdentification": "MONBAT12345",
"numberOfTransactions": "3",
"batchAmount": "150.00",
"batchIdExpiry": "2026-11-30T23:59:59+11:00"
}
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"paymentAgreementUID": "MONPAG12345",
"paymentInitiationUID": "MONPIR12345",
"payeeDetails": {
"payeeType": "ORGN",
"payeeLinkedBsb": "062000",
"payeeLinkedAccount": "12345678",
"payeeLinkedPayId": "[email protected]",
"payeeLinkedPayIdType": "Email",
"payeeAccountName": "ABC Corp Pty Ltd",
"ultimatePayee": "ABC Corp",
"payeeMCCCode": "5968",
"ultimatePayeeMCCCode": "5968"
},
"paymentDetails": {
"amount": "50.00",
"lodgementReference": "INV-2026-000123",
"uniqueSuperAnnuationCode": "USI",
"uniqueSuperAnnuationIdentification": "ABC0001AU",
"payrollPaymentDate": "2026-11-13",
"subMerchantId": "93bf57eb1e2c42cf8101509b4356741e"
},
"batchInformation": {
"clientBatchIdentification": "MONBAT12345",
"numberOfTransactions": "3",
"batchAmount": "150.00",
"batchIdExpiry": "2026-11-30T23:59:59+11:00"
}
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://beta-api.monoova.com/au/payto/pas-v1/PaymentInstructionAsync", 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/pas-v1/PaymentInstructionAsync")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request.body = JSON.dump({
"paymentAgreementUID": "MONPAG12345",
"paymentInitiationUID": "MONPIR12345",
"payeeDetails": {
"payeeType": "ORGN",
"payeeLinkedBsb": "062000",
"payeeLinkedAccount": "12345678",
"payeeLinkedPayId": "[email protected]",
"payeeLinkedPayIdType": "Email",
"payeeAccountName": "ABC Corp Pty Ltd",
"ultimatePayee": "ABC Corp",
"payeeMCCCode": "5968",
"ultimatePayeeMCCCode": "5968"
},
"paymentDetails": {
"amount": "50.00",
"lodgementReference": "INV-2026-000123",
"uniqueSuperAnnuationCode": "USI",
"uniqueSuperAnnuationIdentification": "ABC0001AU",
"payrollPaymentDate": "2026-11-13",
"subMerchantId": "93bf57eb1e2c42cf8101509b4356741e"
},
"batchInformation": {
"clientBatchIdentification": "MONBAT12345",
"numberOfTransactions": "3",
"batchAmount": "150.00",
"batchIdExpiry": "2026-11-30T23:59:59+11:00"
}
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://beta-api.monoova.com/au/payto/pas-v1/PaymentInstructionAsync"
payload = json.dumps({
"paymentAgreementUID": "MONPAG12345",
"paymentInitiationUID": "MONPIR12345",
"payeeDetails": {
"payeeType": "ORGN",
"payeeLinkedBsb": "062000",
"payeeLinkedAccount": "12345678",
"payeeLinkedPayId": "[email protected]",
"payeeLinkedPayIdType": "Email",
"payeeAccountName": "ABC Corp Pty Ltd",
"ultimatePayee": "ABC Corp",
"payeeMCCCode": "5968",
"ultimatePayeeMCCCode": "5968"
},
"paymentDetails": {
"amount": "50.00",
"lodgementReference": "INV-2026-000123",
"uniqueSuperAnnuationCode": "USI",
"uniqueSuperAnnuationIdentification": "ABC0001AU",
"payrollPaymentDate": "2026-11-13",
"subMerchantId": "93bf57eb1e2c42cf8101509b4356741e"
},
"batchInformation": {
"clientBatchIdentification": "MONBAT12345",
"numberOfTransactions": "3",
"batchAmount": "150.00",
"batchIdExpiry": "2026-11-30T23:59:59+11:00"
}
})
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
202
// Accepted. The request was validated and accepted for background processing. Use uniqueRequestId to check its status.
{
"traceId": "1dabfaa9-abe8-4d2d-a69a-b723079d84ed",
"uniqueRequestId": "595a3202-e9aa-406e-a2a3-5efb6ca8b72a"
}400
// Bad Request. The request failed validation. See errors for details.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAS_AMT_REQUIRED",
"errorMessage": "paymentDetails.amount is required"
}
]
}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": "PAS_AMT_REQUIRED",
"errorMessage": "paymentDetails.amount is required"
}
]
}404
// Not Found. The account could not be found.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAS_AMT_REQUIRED",
"errorMessage": "paymentDetails.amount is required"
}
]
}500
// Internal Server Error. An unexpected error occurred. Contact Monoova support if the problem persists.
{
"traceId": "4ea61012-2d9b-413d-a5b4-90ad69a68741",
"errors": [
{
"errorCode": "PAS_AMT_REQUIRED",
"errorMessage": "paymentDetails.amount is required"
}
]
}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": "PAS_AMT_REQUIRED",
"errorMessage": "paymentDetails.amount is required"
}
]
}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": "PAS_AMT_REQUIRED",
"errorMessage": "paymentDetails.amount is required"
}
]
}