ACH Refund via the Payments API

An ACH Refund transaction will refund an existing ACH Sale, and return the amount back to customer.

A Refund transaction can only work on a transaction that has already been settled. Therefore, a Refund can only be performed as early as next day.

Refunds differ from Void transactions in that Voids cancel a transaction that has not yet settled, and can be performed immediately after an erroneous transaction. In order to perform a Refund, the transaction must be settled - i.e. the transaction has "gone through"- usually as early as the next day.

For transactions that have not yet settled, see Void Transactions.

API Request Example

An ACH Refund transaction can be created by calling our POST /v1/transactions API endpoint and providing refund as the value of the type property. Additionally, the field fee and currency is required. As Preczn currently supports only USD, the currency field should always be USD.

Below is an ACH Refund example with the minimum required request fields, for a previously approved ACH Sale transaction which had the id of txn_test_2xdyeprdyq8bbtj4y73tztb4h.

{
    "type": "refund",
    "fee": 0,
    "currency": "USD",
    "transactionId": "txn_test_5zmg34ttyk8f0actdkatz5ca2q"
}
{
    "amount": 2952,
    "approvedAmount": 2952,
    "authorization": {
        "approvedAmount": 2952,
        "partial": false,
        "processorCode": "3",
        "processorMessage": "CAPTURED",
        "processorTransactionId": "t1_txn_65a56d65983b7eb03658afb",
        "status": "P"
    },
    "billingAddress": {
        "address": "4468 Jabari Summit",
        "address2": "Suite 1",
        "city": "Creolaport",
        "country": "USA",
        "postal": "85555",
        "region": "NY"
    },
    "createdOn": "2024-01-15T17:37:41Z",
    "currency": "USD",
    "email": "[email protected]",
    "firstName": "MONIQUE",
    "id": "txn_test_2xdyeprdyq8bbtj4y73tztb4h4",
    "ipCreated": "1.1.1.1",
    "lastName": "QUIGLEY",
    "merchantId": "69dm3g0n5n8va9zxpghp1m018t",
    "originalTransactionId": "txn_test_5zmg34ttyk8f0actdkatz5ca2q",
    "payment": {
        "bin": "021000021",
        "last4": "7890",
        "type": "CORPORATE_CHECKING"
    },
    "phone": "928-832-9009",
    "plan": {
        "id": "28zcrsb8fx9qsr33wa07yfc2xd",
        "name": "Payrix Only"
    },
    "platformId": "7gtxx4ftsr958tgkjjay1jbhsw",
    "processor": {
        "id": "rpkwm89dr8br9zvqw4bwxgktz",
        "name": "Payrix"
    },
    "tax": 123,
    "type": "refund"
}