Skip to content

BLACHREFUND

The BLACHREFUND endpoint issues an ACH refund (return) against a prior ACH sale. It requires the achtoken representing the bank account and the reqid (the resultId returned by the original BLACHSALE).

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 refunded with two implied decimal places (example: to specify "$10.00," use "1000")✔️
achtypeAccount type: ECHK for checking or ESAV for savings✔️
achtokenBank account token returned by BLACHTOKENIZE or BLACHSALE✔️
reqidThe resultId returned by the original BLACHSALE transaction✔️
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": "rc7832",
    "amount": "2500",
    "achtype": "ECHK",
    "achtoken": "9412345678901234",
    "reqid": "1*19562*110*rc783*21",
    "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 for this refund request
authAuthorization code returned by the processor
referenceAuthorization reference returned by the processor
ccvRecBase 64 Encoded String which holds the underlying CCV record
javascript
{
    "verified": "1",
    "errorCode": "",
    "errorMessage": "",
    "resultId": "1*19562*110*rc783*22",
    "auth": "AUTH9999",
    "reference": "REF0001",
    "ccvRec": "..."
}