Get Started

Example of PUT Payments

Table - Examples - PUT Payments for Batch

Request:
PUT /customers/MPCTEST1/batches/B3/payments HTTP/1.1
{
  "payments":
[
{
"partnerReference":"B3 P1","paymentMethod":"WIRE",
"id": "P1","amount":250,"currencyCode":"USD",
"beneficiary":
{
"id":"D5QR0","versionedOn":"2015-10-07T12:36:31Z",
"email": sve2qg0fkr@ah3su.com",type":"Individual","taxId":"",
"firstName":"John","lastName":"Doe",
"phoneNumber":"+442-176-1638","cellNumber":"+572-774-4319",
"dateOfBirth":"1950-05-21","gender":"Male",
"businessName":"","businessRegistrationNumber":"",
"businessRegistrationCountry":"","businessRegistrationStateProv":"",
"industry":"","address":
{
"line1": "Ap #418-1968 Mauris Av.","line2": "","line3": "",
"city": "Grand Falls","stateOrProv": "CA",
"zipOrPostal": "12345","countryCode": "US"
}
},
"bankAccount":
{
"id":"RZIVCYP7ZH","versionedOn":"2015-06-17T12:36:31Z",
"accountNumber":"80722","accountType":"SAVINGS",
"bankName":"Humungous Bank Inc.","bankBranchName":"24618",
"bankCode":"BOFAHKHXXXX","bankBranchCode":"96125",
"address":
{
"line1":"2375 Velit. Rd.","line2":"","line3":"",
"city":"Strongoli","stateOrProv":"CA",
"zipOrPostal":"12345",
"countryCode":"US"
},
"intermediaryBank":
{
"bankName":"Humungous Bank",
"bankCode":"BOFAHKHXXXX",
"accountNumber":"81934",
"address":
{
"line1":"2375 Velit. Rd.","line2":"","line3":"",
"city":"Strongoli","stateOrProv":"CA",
"zipOrPostal":"12345",
"countryCode":"US"
}
}
},
"purposeOfPayment":"GPP0XAF4HL","instructionForBank":"3GT0JYDGXS",
"instructionCodeForBank":"7GLC6E3MDD","remittanceType":"",
"remittanceData": null
},
{
"partnerReference":"B3 P2","paymentMethod":"WIRE",
"id": "P2","amount":153,"currencyCode":"CAD",
"beneficiary":
{
"id": "D5QR0","versionedOn": "2015-10-07T12:36:31Z",
"email": "sve2qg0fkr@ah3su.com","type": "Individual","taxId":"",
"firstName": "John","lastName": "Doe",
"phoneNumber":"+442-176-1638","cellNumber":"+572-774-4319",
"dateOfBirth":"1950-05-21","gender":"Male",
"businessName":"","businessRegistrationNumber":"",
"businessRegistrationCountry":"","businessRegistrationStateProv":"",
"industry":"","address":
{
"line1":"Ap #418-1968 Mauris Av.","line2":"","line3":"",
"city":"Grand Falls","stateOrProv":"CA",
"zipOrPostal":"12345",
"countryCode":"US"
}
},
"bankAccount":
{
"id":"RZIVCYP7ZH","versionedOn":"2015-06-17T12:36:31Z",
"accountNumber":"80722","accountType":"SAVINGS",
"bankName":"Humungous Bank Inc.","bankBranchName":"24618",
"bankCode":"BOFAHKHXXXX","bankBranchCode":"96125",
"address":
{
"line1":"2375 Velit. Rd.","line2":"","line3":"",
"city":"Strongoli","stateOrProv":"CA",
"zipOrPostal":"12345","countryCode":"US"
},
"intermediaryBank":
{
"bankName":"Humungous Bank","bankCode":"BOFAHKHXXXX",
"accountNumber":"81934","address":
{
"line1":"2375 Velit. Rd.","line2":"","line3":"",
"city":"Strongoli","stateOrProv":"CA",
"zipOrPostal":"12345","countryCode":"US"
}
}
},
"purposeOfPayment":"GPP0XAF4HL","instructionForBank":"3GT0JYDGXS",
"instructionCodeForBank":"7GLC6E3MDD","remittanceType":"",
"remittanceData":null
}  
]
}
Response:
202: Accepted
{
"receivedPayments":2
}