Skip to content

BLACHSALE

The BLACHSALE endpoint captures an ACH payment. The bank account can be identified either by an achtoken previously returned from BLACHTOKENIZE or by supplying the raw achroute and achaccount values directly.

POST Request Attributes

AttributeDescriptionRequired
atokenAuthorization token to allow access to the service✔️
entityThis tells the api what database to use for your transactions✔️
storeThe unique assignment for your location(s) Merchant accounts are assigned by store/location✔️
regThis identifies the POS station, user, terminal or process requesting the transaction✔️
dateDate of the request made to Rover Pay
tranThis is the sequential number for the REG requesting the transaction
invoiceInvoice must be unique per request in order to request Inquiry from BLINQUIRE
amountAmount to be debited with two implied decimal places (example: to specify "$10.00," use "1000")✔️
achtypeAccount type: ECHK for checking or ESAV for savings✔️
achtokenToken returned by BLACHTOKENIZE. Supply this or both achroute and achaccount
achrouteBank routing / ABA number (required when achtoken is not supplied)
achaccountBank account number (required when achtoken is not supplied)
avsOptional AVS object: name, addr, addr2, city, state, zip
debugIf flag is set then error messages will be more verbose

Example Request

javascript
{
    "atoken": {{atoken}},
    "entity": {{entity}},
    "store": {{store}},
    "reg": {{reg}},
    "date": "",
    "tran": "rc783",
    "invoice": "rc7831",
    "amount": "2500",
    "achtype": "ECHK",
    "achtoken": "9412345678901234",
    "avs": {
        "name": "Jane Doe",
        "addr": "123 Main St",
        "addr2": "",
        "city": "Irvine",
        "state": "CA",
        "zip": "92614"
    },
    "debug": {{debug}}
}

Example Response

AttributeDescription
verifiedFlag will be set to 1 if call was successful or 0 if it failed
errorCodeError Code, empty if call was successful
errorMessageError Message, empty if call was successful
resultIdResult ID that can be used as the reqid field in BLACHREFUND
authAuthorization code returned by the processor
referenceAuthorization reference returned by the processor
cardTypeAccount / card type code
cardDescAccount / card type description
achtokenBank account token (returned even when raw routing/account were supplied)
nameAccount holder name (echoed from avs.name, falling back to the stored CCV record value)
avsCodeAVS response code from the processor
ccvRecBase 64 Encoded String which holds the underlying CCV record
javascript
{
    "verified": "1",
    "errorCode": "",
    "errorMessage": "",
    "resultId": "1*19562*110*rc783*21",
    "auth": "AUTH1234",
    "reference": "REF5678",
    "cardType": "ECHK",
    "cardDesc": "Checking",
    "achtoken": "9412345678901234",
    "name": "Jane Doe",
    "avsCode": "Y",
    "ccvRec": "..."
}