Credit (Payout)

Process an ACH Credit


A credit transaction is when you add funds to an account. ACH credit transactions are most often used for direct deposit payroll transactions, P2P payments, and refunds. (This is the same function as a refund on a credit card)

Parameters

The following parameters are available to process an ACH Debit transaction.

parameterdescriptionrequired
midthe Merchant ID (MID) assigned by QorCommerce or your merchant service provider (MSP)Yes
amountthe total amount to debitYes
orderida unique merchant order tracking numberYes
seccode# docTextSection:oLXpbhkedPf9iLPzhYes
checknumbercheck number to assignNo
checkdatedate provided for the checkNo
transactiondatedate to assign for the creditNo
name_on_accountname of the account holder (specifically used for corporate accounts)No
routing_numberbank routing number for creditYes
account_numberbank account number to creditYes
account_typebank account type. valid options are
1 = personal checking
2 = personal savings
3 = corporate checking
3 = corporate savings
Yes
banknamename of the bank for creditNo
bankcitybank cityNo
bankstatebank 2-char state codeNo
customeridcredited account holder customer IDNo
cfirstnamecredited account holder first nameNo
clastnamecredited account holder last nameNo
cphonecredited account holder phone numbernNo
cemailcredited account holder emailNo
caddress1credited account holder street 1 addressNo
caddress2credited account holder street addressNo
ccitycredited account holder cityNo
cstatecredited account holder stateNo
czipcredited account holder zip codeNo
memofree form textNo
store_accntwhether or not to store the account info for future use and return a tokenNo
account_nicknamenickname for the accountYes
metadataa set of key-value pairs that you can attach to a payment. This can be useful for storing additional information about the payment in a structured format.No
JSON example ACH Credit

The following JSON example provides a template for all the ACH Credit parameter values. You can copy and paste these values in the Body Params section above to be used by the Try It feature

* is for required values

{
  "transaction_data": {
    "mid": "",
    "amount": "",
    "orderid": "",
    "seccode": "",
    "checknumber": "* if seccode = RCK",
    "checkdate": "",
    "transactiondate": "",
    "name_on_account": "",
    "routing_number": "",
    "account_number": "",
    "account_type": "",
    "bankname": "",
    "bankcity": "",
    "bankstate": "",
    "customerid": "",
    "firstname": "",
    "lastname": "",
    "middleinitial": "",
    "cphone": "",
    "cemail": "",
    "caddress1": "",
    "caddress2": "",
    "ccity": "",
    "cstate": "",
    "czip": "",
    "memo": "",
    "store_ach": 0,
    "account_nickname": "nickname"
  }
}

Store Account Option

You can store the bank account information provided in the QorCommerce Secure Vault by setting the store_ach parameter to true. The response will provide an ach_token value representing the customers bank information that you can associate with your customer and/or a contract to use for payment when needed.

References

Language
Click Try It! to start a request and see the response here!