ACH Sale

The ACH Sale API debits the purchase amount from provided bank account

POST https://<Platform-host>/api/payment/ach

Request Body

Name
Type
Description

data.accountToken*

String

Bank Account Token

data.transactionAmount*

string

Max Length=12 Allowed characters: 0-9 and .(dot) Note: this value always reflects the total dollar amount for example 1.00 and 1 both will be considered $1.00 and 0.10 will be 10 cents.

merchant_id

string

Merchant ID

data.internalTransactionID

string

An internal ID from integrating system. Will be returned in the response and associated refunds if provided.

data.description

string

Transaction description. Character limit is 255

Field Name
Type
Description
Required?

ID

string

Platform system ID for the sale request

Required

TransactionID

string

Unique transaction ID

Required

MerchantID

string

Merchant ID

Required

description

string

Transaction Description

Optional

AchResponse.status

string

Transaction execution status. Allowed values PASS | FAIL

Required

AchResponse.responseCode

string

The code representing the status of the processed request. It comes from the processor

Required

AchResponse.responseMessage

string

The corresponding message for the response code. It comes from the processor

Required

AchResponse.achHostTransactionID

string

The unique identifier for the ACH transaction by the processor

Optional

AchResponse.achHostTransactionStatus

string

The current status of the ACH transaction.

Optional

AchResponse.achHostResponseCode

string

Host response code from acquiring processor

Optional

AchResponse.achHostMessage

string

Host response message from acquiring processor

Optional

AchResponse.taskID

string

Task identification number from acquiring processor

Optional

AchResponse.transactionID

string

Transaction Identifier

Optional

AchResponse.transactionTimestamp

string

Transaction timestamp in merchant's timezone

Required

bank_routing_number

string

Routing Number

Optional

masked_bank_account

string

Last 4 digits of bank account number

Optional

AchResponse.customerReceipt

string

Printable customer receipt

Optional

AchResponse.merchantReceipt

string

Printable merchant receipt

Optional

Sample Request / Response

{    
    "merchant_id": "8bb35bfc-1620-4901-bb7e-f926710024a1",
    "data": {
        "accountToken": "ba_sandbox_xxxx",
        "transactionAmount": "100.00",
        "internalTransactionID": "987654321",
        "description": "Payment for the services",
        "order_number": "150t65898",
        "metadata": {
            "customerId": "123",
            "email" : "[email protected]"
        }
    }
}

Last updated