Payrix ACH Integration

Process ACH transactions with Payrix including GIACT risk verification

GIACT verification adds a risk check to ACH verify transactions on your Payrix connection. When Payrix returns an ACH verify as an Error with generic_error, Preczn returns the verify as Pending, gets the GIACT result from Payrix, and then sends you the result on the transaction. For how ACH payments work on every connection, see ACH payments. For everything else about Payrix, see the Payrix guide.


Setup

GIACT verification needs two settings, one at Payrix and one in Preczn. If the Preczn setting is off, Preczn returns the verify's Error as is and doesn't check GIACT. If the Preczn setting is on but GIACT is off at Payrix, the verify can stay Pending.

  1. Ask Payrix to enable GIACT on your Payrix account. To test GIACT, also ask Payrix to enable it on your sandbox account.
  2. In the Dashboard, edit your Payrix platform connection and turn on Enable GIACT Risk Verification. For where to edit the connection, see Edit a connection.

Your Test mode and Live mode Payrix connections each have their own Enable GIACT Risk Verification setting. Turn it on in each mode where you want GIACT. The setting applies to every merchant on that connection.


Verification flow

Preczn checks GIACT only for an ACH verify on Payrix that Payrix returns as an Error with the processor code generic_error. ACH sales and refunds, and verify errors with any other code, return as usual.

sequenceDiagram
    participant P as Your platform
    participant Z as Preczn
    participant X as Payrix
    P->>Z: ACH verify
    Z->>X: Verify
    X-->>Z: Error (generic_error)
    Z-->>P: Pending (P)
    Z-->>P: transaction.pending webhook
    Z->>X: Get GIACT result
    X-->>Z: GIACT result
    Z-->>P: transaction.errored webhook

The flow runs as follows:

  1. You send an ACH verify. See Verify a bank account.
  2. Preczn returns the transaction with authorization.status set to P (Pending) and authorization.processorCode set to generic_error, and sends a transaction.pending webhook. Don't treat this verify as failed yet.
  3. Preczn gets the GIACT result from Payrix, sets the transaction's status to E (Error), adds the result to authorization.errors, and sends a transaction.errored webhook.

For the webhook format, see Transaction webhook payloads.


GIACT results

Preczn adds each GIACT result to the start of authorization.errors, in the form {decisionType}: {result}, such as GiactTxnInquiry: BLOCK. Any error messages from Payrix follow it.

{
  "id": "{transactionId}",
  "type": "verify",
  "authorization": {
    "status": "E",
    "processorCode": "generic_error",
    "errors": [
      "GiactTxnInquiry: BLOCK",
      "{payrixErrorMessage}"
    ]
  }
}

This response is abbreviated.

The status stays E whatever the GIACT result is. Read the result in errors to decide what to do with the bank account. For what each result means, and for the notice Payrix asks you to show a customer after a BLOCK, see Payrix's GIACT eCheck verification page.


Testing in test mode

In Test mode, Preczn sends the verify to the Payrix sandbox and gets the GIACT result from the Payrix sandbox. GIACT must be enabled on your Payrix sandbox account and on your Test mode Payrix connection.

To get a specific GIACT result, send one of the bank accounts that Payrix publishes for its GIACT simulator. See Test responses with GIACT simulators. Preczn sends these accounts to Payrix unchanged. It swaps only the Preczn test bank accounts on Test data.


FAQ

Why did my ACH verify return Error right away, with no Pending?

Preczn checks GIACT only when Payrix returns generic_error, and only when GIACT is on at Payrix and in Preczn for the mode you're in. Check authorization.processorCode and both settings. See the Setup section.

Why does a verify with a passing GIACT result still show Error?

Preczn sets every verify that goes through GIACT to Error. The GIACT result in authorization.errors tells you whether the account passed. See the GIACT results section.

Why is my ACH verify still Pending?

Preczn hasn't received a GIACT result from Payrix for the transaction, and Preczn doesn't retry the GIACT lookup. If the verify stays Pending, contact Preczn support with the transaction ID.


Did this page help you?