Western Union Business Solution is rebranding into CONVERA Read more >

Example of PUT Payments

Table - Examples - PUT Payments for Batch

Request:
                            PUT /customers/MPCTEST1/batches/B3/payments HTTP/1.1
                          
                            {
    "payments": [
        {
//General payment information
     "partnerReference": "",
     "paymentMethod": "WIRE",
     "id": "Test_Payment_ID_123",
     "amount": 10025,
     "currencyCode": "EUR",
     "settlementCurrencyCode": "USD",
     "valueDate" : "2022-01-01",
     "isFixedAmountInSettlementCurrency" : "false",
     "purposeOfPayment": "Sample purpose of payment",
     "instructionForBank": "",
     "instructionCodeForBank": "",
      "remittanceType": "",
      "remittanceData": [{"ref": ""}],

"isDoddFrank":"", //Beneficiary Information "beneficiary": { "id": "Bene_ID_456", "versionedOn": "2021-03-09T13:04:34Z", "email": "", "type": "business", "taxID": "", "firstName": "", "middleName": "", "lastName": "", "phoneNumber": "", "cellNumber": "", "dateOfBirth": "", "gender": "", "businessName": "Warehouse Widgets, Inc.", "businessRegistrationNumber": "", "businessRegistrationCountry": "", "businessRegistrationStateProv": "", "industry": "", "address": { "line1": "340 Warehouse Lane", "line2": "", "line3": "", "city": "New York", "stateOrProv": "NY", "zipOrPostal": "10005", "countryCode": "US" } }, //Beneficiary Bank Information "bankAccount": { "id": "USD_Bank_789", "versionedOn": "2020-03-09T13:04:34Z", "accountNumber": "123456789", "accountType": "", "bankName": "Bank of New York", "bankBranchName": "", "bankCode": "IRVTUS3NXXX", "bankBranchCode": "", "address": { "line1": "123 Apple Street", "line2": "", "line3": "", "city": "New York", "stateOrProv": "NY", "zipOrPostal": "10005", "countryCode": "US" }, "intermediaryBank": { "bankName": "", "bankCode": "", "accountNumber": "", "address": { "line1": "", "line2": "", "line3": "", "city": "", "stateOrProv": "", "zipOrPostal": "", "countryCode": "" } } }, //Third-Party Remitter Information (only accessible for third-party enabled accounts. Please contact WUBS for more information.) "thirdPartyRemitter": { "id": "Third_Party_ID_1234", "versionedOn": "2020-03-09T13:04:34Z", "type": "partnership", "businessName": "Remitting, Inc.", "address": { "line1": "560 Remitting Avenue", "line2": "", "line3": "", "city": "New York", "stateOrProv": "NY", "zipOrPostal": "10005", "countryCode": "US" }, "email": "", "phoneNumber": "", "identificationType": "", "identification": "", "industry": "" }, //Originating FI Information (only accessible for Originating-FI enabled accounts. Please contact WUBS for more information.) "originatingFI": { "id": "Originating_FI_ID_5678", "versionedOn": "2020-03-09T13:04:34Z", "accountNumber": "456789123", "accountType": "", "bankName": "Bank of New York", "bankCode": "", "address": { "line1": "223 Originating Drive", "line2": "", "line3": "", "city": "New York", "stateOrProv": "NY", "zipOrPostal": "10005", "countryCode": "US" } } } ]}
Response:
                            201: Accepted
{
"receivedPayments":2
}