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
| Key | Type | Description |
|---|---|---|
source | object | Source account details. See Account Details Object below for the full parameters. Currently we only support wallet as the source. |
destination | object | Destination account details. See Account Details Object below for the full parameters. |
provider | string | Must be one of: paymongo, pesonet, or instapay |
amount | string | Amount 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. |
currency | string | Must be one of: PHP, USD, IDR |
notes | string (Optional) | Optional. Free-form notes for the transaction |
Account Details Parameter
| Key | Type | Description |
|---|---|---|
type | string | Source account type, must be one of: wallet or bank. Wallet refers to Paymongo Wallet account. |
account | string | Account number correspond to the source account type. Can be literal or variable like ${merchant_account_number} |
account_name | string | Source account name. Can be literal or variable like ${merchant_account_name}. The account name is case sensitive. |
bic | string | The 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"Updated about 5 hours ago
