Tutorial: Create International SWIFT Wire Transfers

📘

API Ref: Create SWIFT Wire Transfer

To execute a SWIFT transfer, send a POST request to the MBanq Cloud API with the following details:

curl -X POST https://api.cloud.mbanq.com/v1/transfers \
     -H "Content-Type: application/json" \
     -d '{
         "type": "CREDIT",
         "dateFormat": "dd MMMM yyyy",
         "paymentType": "SWIFT",
         "amount": 150,
         "reference": [],
         "debtor": {
             "identifier": "ACCOUNT:6666000000000223",
             "name": "Kole Castro"
         },
         "creditor": {
             "name": "TD Corporation Sarl",
             "agent": {
                 "identifier": "CITILULX",
                 "name": "CITIBANK EUROPE PLC",
                 "address": [
                     "LUXEMBOURG BRANCH",
                     "31 ZA BOURMICHT,",
                     "LU"
                 ],
                 "country": "LU"
             },
             "address": [
                 "37 Rue d'Anvers",
                 "1130 Luxembourg",
                 "LU"
             ],
             "identifier": "SWIFT://CITILULX/LU210340007000190877",
             "country": "LU",
             "city": "",
             "postalCode": ""
         },
         "paymentRailMetaData": {
             "businessFunctionCode": {
                 "businessFunctionCode": "CTR",
                 "transactionTypeCode": ""
             },
             "receiverDepositoryInstitution": {
                 "receiverABANumber": "021000018",
                 "receiverShortName": "BK OF NYC"
             },
             "originator": {
                 "personal": {
                     "identificationCode": "D"
                 }
             },
             "beneficiary": {
                 "personal": {
                     "identificationCode": "D"
                 }
             },
             "beneficiaryFI": {
                 "financialInstitution": {
                     "identificationCode": "B"
                 }
             },
             "beneficiaryIntermediaryFI": {
                 "financialInstitution": {
                     "identificationCode": "F",
                     "identifier": "8901233412",
                     "name": "Bankers Bank of the West",
                     "address": {
                         "addressLineOne": "099 18th St, Ste 2700",
                         "addressLineTwo": "Denver,CO 80202,US",
                         "addressLineThree": "US"
                     }
                 }
             },
             "typeSubType": {
                 "typeCode": "10",
                 "subTypeCode": "00"
             },
             "beneficiaryReference": {
                 "beneficiaryReference": "Client #558023"
             },
             "fiPaymentMethodToBeneficiary": {}
         }
     }'
ParameterValue TypeDefinition
typestringSpecifies the type of transfer, in this case, "CREDIT".
dateFormatstringSpecifies the format of the date, using the "dd MMMM yyyy" format.
paymentTypestringSpecifies the type of payment, in this case, "SWIFT".
amountnumberSpecifies the amount of the transfer, in this case, 150.
referencearrayContains an empty array, indicating no specific references for the transfer.
debtor.identifierstringIdentifies the debtor's account using the format "ACCOUNT:6666000000000223".
debtor.namestringSpecifies the name of the debtor, in this case, "Kole Castro".
creditor.namestringSpecifies the name of the creditor, in this case, "TD Corporation Sarl".
creditor.agent.identifierstringIdentifies the agent using the format "CITILULX".
creditor.agent.namestringSpecifies the name of the agent, in this case, "CITIBANK EUROPE PLC".
creditor.agent.addressarrayContains an array of strings representing the address of the agent.
creditor.agent.countrystringSpecifies the country of the agent, in this case, "LU" (Luxembourg).
creditor.addressarrayContains an array of strings representing the address of the creditor.
creditor.identifierstringIdentifies the creditor's account using the format "SWIFT://CITILULX/LU210340007000190877".
creditor.countrystringSpecifies the country of the creditor, in this case, "LU" (Luxembourg).
creditor.citystringSpecifies the city of the creditor.
creditor.postalCodestringSpecifies the postal code of the creditor.
beneficiaryReferenceobjectSpecifies the beneficiary reference.
beneficiaryReference.beneficiaryReferencestringSpecifies the beneficiary reference, in this case, "Client #558023".

If the request is successful, you will receive a response containing the transfer ID and other relevant details.

{
    "data": {
        "id": "6",
        "type": "CREDIT",
        "status": "PENDING",
        ...
    }
}
ParameterValue TypeDefinition
idstringThe unique identifier of the data, in this case, "6".
typestringSpecifies the type of the data, in this case, "CREDIT".
statusstringSpecifies the status of the data, in this case, "PENDING".
......Additional parameters may exist but are not specified in the given example. Please refer to the API documentation for more details.

Please note that additional details and error handling might be required based on the specific implementation and business requirements.