Tutorial: Outgoing ACH Credit

Outgoing ACH Credit:

  • Description: A customer within the MBanq Cloud system initiates a request to transfer funds into an external account.
  • Example Situation: A customer wants to transfer funds from their account within the MBanq Cloud platform to their savings account at an external bank. They initiate the transfer, specifying the recipient's account details, and the funds are credited to the external account.

📘

API Reference for Outgoing ACH Credit:

  1. The customer, who is part of the MBanq Cloud system, initiates a request to move funds into an external account.
  2. MBanq Cloud, acting as the ODFI, receives the payment request and credits the requested amount into the customer's external account.
  3. MBanq Cloud generates an ACH file that includes the payment details, such as the customer's account information and the credit amount.
  4. The ACH file is sent to the ACH Operator for processing and clearing.
  5. The ACH Operator forwards the ACH file to the RDFI associated with the external account.
  6. The RDFI processes the ACH file and credits the funds into the customer's external account, completing the outgoing ACH credit.

Tutorial: Outgoing ACH Credit Transaction

In this tutorial, we will guide you through the process of initiating an outgoing ACH transaction using the MBanq Cloud Platform. The steps involved are as follows:

  1. Initiate Transfer: Use the following cURL command to initiate the ACH transfer from your system (NeoBank System) to push funds into an external account. You can include a reference field as a memo for additional information.
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
	"type": "CREDIT",
	"dateFormat": "YYYY-MM-DD",
	"paymentType": "ACH",
	"amount": 5,
	"reference": [
		"12345678"
	],
	"creditor": {
		"identifier": "ACCOUNT:9000971111673"
	},
	"debtor": {
		"identifier": "ACH://062000019/12104288",
		"name": "Saman Tipputhynhean",
		"address": [
			"17 Robert Lane",
			"line2",
			"lineN"
		],
		"country": "US",
		"agent": {
			"name": "BANK OF AMERICA",
			"identifier": "051000017",
			"address": [
				"17 Robert Lane",
				"line2",
				"lineN"
			]
		}
	},
	"reference": [
		"12345678"
	]
}' https://api.cloud.mbanq.com/v1/transfers

Explanation of Parameters:

ParameterValue TypeExampleExplanation
typeString"CREDIT"Specifies the type of transaction, indicating a credit to the creditor's account.
dateFormatString"YYYY-MM-DD"Specifies the format for the date fields in the request.
paymentTypeString"ACH"Indicates that the payment is processed through the ACH network.
amountNumber5Specifies the amount to be transferred.
referenceArray["12345678"]Provides a reference or memo for the transaction.
creditorObjectSee example aboveContains information about the creditor (recipient) of the funds, including their account identifier.
debtorObjectSee example aboveContains information about the debtor (sender) of the funds, including their account identifier, name, address, and agent.

The response will include the created transfer details.

  1. Notification - Scheduled: Set up a webhook subscription to receive notifications about the transfer. Subscribe to the following event:
  • ENTITY: TRANSFER
  • ACTION: CREATE, EXECUTE
  1. Notification - Processing: During the cutoff time, when the transfer is being processed and the transfer file is being built for the Fed network, your system (NeoBank System) will receive a webhook notification. Subscribe to the following event:
  • ENTITY: TRANSFER
  • ACTION: MARK_AS_PROCESSING
  1. Notification - Failed: When the system receives a notification from the Fed network that the transfer has failed, your system (NeoBank System) will receive a webhook notification. Subscribe to the following event:
  • ENTITY: TRANSFER
  • ACTION: MARK_AS_FAIL

At this point, you can use the received payload to query more information about the transfer using the Retrieve a Transfer API. For example, to retrieve the details of a specific transfer (ID: 10405), use the following cURL command:

curl -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" https://api.cloud.mbanq.com/v1/transfers/10405

This will return the complete details of the transfer, including status, error codes, and additional information.

Please note that in the cURL commands, you need to replace YOUR_API_KEY with your actual API key for authentication and authorization.