Send Money Step

Step for Sending Money to PayMongo Wallet or Bank Account.

This step can be used to transfer funds between accounts. Currently, we only support the PayMongo Wallet as the source for sending money. This step enables you to send money to another PayMongo Wallet or a Bank Account.

Transfer Step Parameters

KeyTypeDescription
sourceobjectSource account details. See Account Details Object below for the full parameters. Currently we only support wallet as the source.
destinationobjectDestination account details. See Account Details Object below for the full parameters.
providerstringMust be one of: paymongo, pesonet, or instapay
amountstringAmount to transfer. Can be a literal or a variable like ${amount}. The amount is in centavos, so to transfer 200 PHP you need to input it as 20000.
currencystringMust be one of: PHP, USD, IDR
notesstring (Optional)Optional. Free-form notes for the transaction

Account Details Parameter

KeyTypeDescription
typestringSource account type, must be one of: wallet or bank. Wallet refers to Paymongo Wallet account.
accountstringAccount number correspond to the source account type. Can be literal or variable like ${merchant_account_number}
account_namestringSource account name. Can be literal or variable like ${merchant_account_name}. The account name is case sensitive.
bicstringThe Bank Identifier Code. Can be blank for source type wallet. Required for source type bank.

Example

version: 1
name: "Send money to other merchant wallet"
description: "Send money from my wallet to another merchant wallet"
steps:
    - send_money:
        source:
            type: "wallet"
            account: "${merchant_account_number}"
            account_name: "${merchant_account_name}"
        destination:
            type: "wallet"
            account: "7754473456987"
            account_name: "AnotherSubMerchant1"
            bic: "PAEYPHM2XXX"
        provider: "paymongo"
        amount: "${net_amount}"
        currency: "PHP"
        notes: "Received money from Payout disbursement"
version: 1
name: "send-money-to-bank"
description: "Send money to another merchant bank account"
steps:
    - send_money:
        source:
            type: "wallet"
            account: "${merchant_account_number}"
        destination:
            type: "bank"
            account: "000010094477"
            account_name: "Amazing Cookie Store"
            bic: "UBPHPHMMXXX"
        provider: "instapay"
        amount: "${net_amount}"
        currency: "PHP"
        notes: "Payout Disbursement"