Tutorial: Create Domestic Wire Transfer

📘

API Ref: Create Domestic Wire Transfer

WIRE payments are widely used for secure and reliable domestic and international fund transfers. The MBanq Cloud API allows developers to make WIRE payments, facilitating seamless transactions. Below is a tutorial on how developers can make WIRE payments using the MBanq Cloud API

  1. WIRE Transfer Request

    To execute a WIRE 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": "WIRE",
             "amount": 1.9,
             "reference": [
                 "reference text"
             ],
             "debtor": {
                 "identifier": "ACCOUNT:000000001",
                 "name": "Demo Client"
             },
             "creditor": {
                 "name": "Zabeeullah Shaik",
                 "agent": {
                     "identifier": "021000018",
                     "name": "Bank Of Afghan",
                     "address": [
                         "4250 Executive Square",
                         "California",
                         "United States"
                     ],
                     "country": "US"
                 },
                 "address": [
                     "Pension Lane Mulapeta",
                     "CC Avenue",
                     "Nellore AK 52400 US"
                 ],
                 "identifier": "WIRE://021000018/11223344556677",
                 "country": "US",
                 "stateOrProvince": "Alaska",
                 "city": "Nellore",
                 "postalCode": "52400",
                 "forFurtherCredit": "Benefici Info"
             },
             "paymentRailMetaData": {
                 "businessFunctionCode": {
                     "businessFunctionCode": "CTR",
                     "transactionTypeCode": ""
                 },
                 "receiverDepositoryInstitution": {
                     "receiverABANumber": "021000018",
                     "receiverShortName": "Mike Tyson"
                 },
                 "originator": {
                     "personal": {
                         "identificationCode": "D"
                     }
                 },
                 "beneficiary": {
                     "personal": {
                         "identificationCode": "D"
                     }
                 },
                 "beneficiaryFI": {
                     "financialInstitution": {
                         "identificationCode": "F"
                     }
                 },
                 "beneficiaryIntermediaryFI": {
                     "financialInstitution": {
                         "identificationCode": "F",
                         "identifier": "021000018",
                         "name": "Bank Of Baroda",
                         "address": {
                             "addressLineOne": "4250 Executive Square",
                             "addressLineTwo": "California",
                             "addressLineThree": "United States"
                         }
                     }
                 },
                 "fiAdditionalFiToFi": {
                     "additionalFiToFi": {
                         "lineOne": "Fi TO FI info"
                     }
                 },
                 "typeSubType": {
                     "typeCode": "10",
                     "subTypeCode": "00"
                 },
                 "beneficiaryReference": {
                     "beneficiaryReference": "234234234234"
                 },
                 "fiPaymentMethodToBeneficiary": {}
             }
         }'
    
    ParameterValue TypeExplanation
    typeStringSpecifies the type of transfer (CREDIT or DEBIT)
    dateFormatStringSpecifies the format of the date
    paymentTypeStringSpecifies the payment type
    amountNumericSpecifies the transfer amount
    referenceArrayContains reference information for the transfer
    debtorObjectContains details about the debtor (sending) account
    creditorObjectContains details about the creditor (receiving) account
    paymentRailMetaDataObjectContains metadata for the WIRE payment process
    businessFunctionCodeObjectSpecifies the business function code of the WIRE payment
    receiverDepositoryInstitutionObjectSpecifies the receiver depository institution details
    originatorObjectContains details about the originator (sender)
    beneficiaryObjectContains details about the beneficiary (recipient)
    beneficiaryFIObjectContains details about the beneficiary's financial institution
    beneficiaryIntermediaryFIObjectContains details about the beneficiary's intermediary financial institution
    fiAdditionalFiToFiObjectContains additional details about the financial institution to financial institution payment method
    typeSubTypeObjectSpecifies the type and subtype codes of the WIRE transfer
    beneficiaryReferenceObjectSpecifies the beneficiary reference for the transfer
    fiPaymentMethodToBeneficiaryObjectContains details about the financial institution payment method to the beneficiary (optional)

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