Payrix
Board merchants to Payrix, import existing Payrix merchants and transactions, and process card, ACH, and wallet payments through Preczn.
Overview
Preczn boards merchants to Payrix, imports existing Payrix merchants and their transactions, and routes card, ACH, Apple Pay, and Google Pay payments to Payrix. Preczn also sends signed SAQs to Payrix.
Merchant onboarding
| Capability | Supported | Details |
|---|---|---|
| Merchant onboarding | ✓ Yes | Jump to Onboarding a merchant |
| Onboarding through the API | ✓ Yes | Jump to Onboarding a merchant |
| Merchant import | ✓ Yes | Jump to Merchant import |
Transactions
| Capability | Supported | Details |
|---|---|---|
| Card transactions | ✓ Yes | Jump to Processing transactions |
| Apple Pay transactions | ✓ Yes | Jump to Wallets |
| Google Pay transactions | ✓ Yes | Jump to Wallets |
| ACH transactions | ✓ Yes | See Payrix ACH |
| Transaction import | ✓ Yes | Jump to Transaction import |
Tokens and lending
| Capability | Supported | Details |
|---|---|---|
| Token migration | ✗ No | |
| Lending | ✗ No |
Configuring the platform connection
In the Dashboard, go to Connections → Add Connection and select Payrix. For the general steps, see Add a connection to your platform.
| Dashboard field | Required | Description |
|---|---|---|
| API Key | Yes | Your Payrix API key, from the developer section of the Payrix Portal. |
| Default Group | No | Payrix groups that Preczn adds each newly boarded merchant to. |
| Default User | No | The Payrix login whose portal permissions new merchant logins copy. See the Payrix login section. |
| Enable GIACT Risk Verification | No | Checks GIACT on an ACH verify that Payrix returns as an Error with generic_error. See Payrix ACH. |
| Import Merchant Transaction History | No | Imports a linked merchant's past transactions. See the Transaction import section. |
| Continuous Transaction Import | No | Imports new Payrix transactions as they happen. |
| Continuous Merchant Import | No | Imports merchants as Payrix boards them. See the Merchant import section. |
Payrix logins are hierarchical. Retrieve the API key as your organization's parent user, so the key can reach every child account.
Click Verify connection, and then click Connect. Preczn checks the API key with Payrix in the environment that matches your mode: the Payrix sandbox in Test mode, and Payrix production in Live mode. When Default User is set, Preczn also checks that the login exists, and verification fails with Incorrect Default User if it doesn't.
When you save the connection, Preczn creates the Payrix webhooks for transaction and merchant events on your behalf. You don't set up webhooks in Payrix.
Preczn doesn't check Default Group
Preczn doesn't confirm with Payrix that each Default Group ID exists. If Payrix rejects a group when Preczn boards a merchant, boarding continues and the merchant isn't added to that group. Check the merchant's groups after boarding, as described in the Billing groups section.
Linking existing credentials
If a merchant already has a Payrix account, link it instead of boarding the merchant again. A merchant has one connection for each processor. For a business with two Payrix accounts, see Use two accounts at one provider.
To link the account, give Preczn the merchant's Payrix merchant ID. You don't need the entity ID. Preczn looks up the merchant in Payrix with your platform's API key.
Choose how you'll link the account. Select the Dashboard tab or the API tab.
- In Merchant Vault, open the merchant.
- Under Connections, select Payrix.
- Click Edit, and enter the Payrix merchant ID in Merchant ID.
- Click Verify connection. The drawer shows Credentials successfully verified if Payrix returns the merchant, and Verification failed otherwise.
- Click Save changes.
- Send the merchant ID as
midwithPATCH /v1/merchants/{merchantId}/connections/Payrix:
{
"mid": "{payrixMerchantId}"
}If Payrix returns the merchant, Preczn saves the merchant ID and sets the connection to Active. If it doesn't, the request returns 400 and Preczn doesn't save the merchant ID.
When Import Merchant Transaction History is on, linking the merchant also starts a one-time import of its past transactions. See the Transaction import section.
Merchant import
Preczn can import the merchants that already exist under your Payrix API key. For the steps, see Run a one-time import and Turn on continuous import.
- One-time import brings in every Payrix merchant your API key can reach. A merchant whose Payrix merchant ID is already on your platform isn't imported again.
- Continuous import brings in each merchant when Payrix reports it as boarded, while Continuous Merchant Import is on.
Each imported merchant arrives with its business details, owners, terms acceptance, and Payrix merchant ID. Payrix returns only partial tax IDs, Social Security numbers, birth dates, and driver's license numbers, so Preczn doesn't import them. Bank accounts aren't imported. Preczn sets the connection's status from the merchant's Payrix status.
Onboarding a merchant
You send the merchant's data to Preczn with a boarding form or through the API. Preczn checks it against your Payrix requirements template. When the data is complete, Preczn creates the merchant at Payrix, adds its owners, bank account, and documents, starts Payrix's boarding review, and reports each status change to your platform.
This diagram shows what happens after you send the onboard request for a Payrix merchant.
sequenceDiagram
participant H as Your platform
participant P as Preczn
participant X as Payrix
autonumber
H->>P: Onboard request (or submit boarding form)
P-->>H: Status Queued
P->>X: Create or update the merchant entity
P->>X: Add the merchant to default groups
P->>X: Add owners, bank account, and documents
P->>X: Start boarding
P-->>H: merchant.updated (Sent)
loop On each Payrix status change
X-->>P: Payrix webhook
P-->>H: merchant.updated
end
Required merchant data
Preczn checks each merchant against your Payrix requirements template. Until a merchant meets every requirement, its Payrix connection stays in Requirements, and missingRequiredData lists what's missing. For how requirements are evaluated, see Onboarding data requirements.
Beyond the business, owner, and banking data in the template, Payrix uses these items:
| Item | Required | Where it's set |
|---|---|---|
| Terms and conditions acceptance | Yes | See the Terms and conditions section |
| Custom field | No | See the Custom field section |
| Disbursement history | No | See the Disbursement history section |
| Payrix login | No | See the Payrix login section |
Terms and conditions
Payrix publishes its own terms, with a version. Preczn requires a record that the merchant accepted them before it boards the merchant, and sends the record to Payrix with the merchant.
| API field | Required | Description |
|---|---|---|
connectionspecificRequirements.tosVersion | Yes | The version of the Payrix terms the merchant accepted. |
connectionspecificRequirements.tosDate | Yes | The date the merchant accepted, as YYYY-MM-DD. |
connectionspecificRequirements.tosIp | Yes | The IP address the merchant accepted from. |
The hosted form gets the current terms and their version from Payrix. To show the terms in your own flow, confirm with Payrix how to get the current terms text and version.
Collecting the merchant's data
You can collect Payrix merchants' data through the API as well as the boarding form. With the API, your platform also handles the shared requirements and the Payrix work on the API tab.
Choose how you'll collect the merchant's data. Select the Boarding form tab or the API tab.
A boarding form that includes Payrix can add two steps:
- Terms & Conditions, when the form shows terms. The step shows the current Payrix terms, asks for the signer's first and last name, and has a checkbox. When the merchant agrees, the form saves the Payrix terms version as
tosVersionand the date astosDate, and Preczn records the IP address the merchant's browser sent the acceptance from astosIp. - Account Login, when the form's
displayNewUserLoginsetting is on. See the Payrix login section.
For general form setup, see Hosted boarding forms.
Follow the shared sequence in Board through the API. In addition to the shared requirements, your platform must do the following for each Payrix merchant:
- Show Payrix's terms and record the acceptance. Show the merchant the current Payrix terms, and then record the version you showed, the date, and the merchant's IP address with
PATCH /v1/merchants/{merchantId}/connections/Payrix:
{
"connectionspecificRequirements": {
"tosVersion": "{payrixTermsVersion}",
"tosDate": "{YYYY-MM-DD}",
"tosIp": "{merchantIpAddress}"
}
}How Preczn sends your data
Preczn adjusts some values to meet Payrix's rules. If a value in Payrix looks different from what you sent, check the following:
- The merchant name is also the DBA. Preczn sends
nameas both the Payrix merchant name and the DBA, andlegalBusinessNameas the entity name. - Phone numbers keep their last 10 digits. This applies to the business, customer service, and owner phone numbers.
- The high ticket isn't sent. Payrix receives
averageTicketandannualSaleVolume, but nothighTicket. - Public company follows the business type. A sole proprietorship is always sent as private, and a nonprofit or government entity as public.
- One bank account is boarded. Preczn sends the account marked as primary, or the first account if none is marked. Every owner is sent.
- Every document is sent. Preczn uploads each document on the merchant to Payrix as a note on the merchant's entity.
- Every merchant is boarded as e-commerce. See the E-commerce environment section.
E-commerce environment
Preczn boards every Payrix merchant with its Payrix environment set to ecommerce, whatever the merchant's business. Preczn has no field that changes this, and it sends ecommerce again each time it onboards the merchant, including after an RFI.
This matters when a merchant also takes payments in person or by mail or phone order. Payrix's record of the merchant then says e-commerce only. Before you board such a merchant, confirm with Payrix how the environment affects the merchant's underwriting, pricing, and card-present processing, and whether Payrix should change it after boarding. If Payrix changes it, onboarding the merchant again sets it back to ecommerce.
Optional boarding settings
The following settings add underwriting data or set how Payrix bills the merchant. Set each one before boarding starts. If a form's auto-transmit setting is on, set them before you create the form, because boarding starts as soon as the merchant submits it.
Custom field
Use connectionspecificRequirements.customField to send Payrix one value of your choosing, up to 50 characters. Preczn sends it unchanged as the custom field on the merchant's Payrix entity, and omits custom when the value is empty. Payrix, not Preczn, decides what the value means. Agree on the values with your Payrix contact before you board merchants.
For example, a platform that moves merchants from another processor can send Conversion for moved merchants and New for new ones, so Payrix underwriting can review each group differently. The boarding form doesn't collect the value. Set it with PATCH /v1/merchants/{merchantId}/connections/Payrix:
{
"connectionspecificRequirements": {
"customField": "Conversion"
}
}The request updates only the fields you send. Preczn rejects a value longer than 50 characters.
Disbursement history
Use hasDisbursementHistory on a bank account to tell Payrix whether the account already receives payouts from a payment processor. Preczn sends it as the Payrix bank account's description: Yes for true and No for false. When the value isn't set, Preczn omits description. Payrix decides how the value affects underwriting, so confirm the criteria with your Payrix contact. Preczn sends the flag only for the bank account it boards.
Set the value in any of these ways:
- API: include
hasDisbursementHistorywhen you create a bank account, or update it withPATCH /v1/merchants/{merchantId}/bankaccounts/{bankId}. - Merchant import: give each bank account
hasDisbursementHistoryasTRUEorFALSE. See Import merchants from a CSV file. - Boarding form: show the Has Disbursement History checkbox in the banking section of your form template.
Boarding forms always set a value
When a merchant adds a bank account in a boarding form, Preczn stores
falseunless the merchant checks Has Disbursement History, so Payrix receivesNo. This happens even when your form template hides the checkbox.
Billing groups
A billing group is a Payrix group, also called an org, that sets the fees Payrix charges a merchant. Payrix defines each group and its fees. Preczn adds merchants to the groups you choose and removes them.
Default groups. To add every merchant you board to the same groups, set Default Group on your Payrix platform connection. Enter each Payrix group ID, and press Enter after each one. For where to edit the connection, see Edit a connection. A change to Default Group applies only to merchants that Preczn boards after the change.
One merchant's groups. To view or change one merchant's groups, use the API. The merchant's Payrix connection needs a Payrix merchant ID, and your Payrix platform connection needs its credentials.
| Task | Endpoint |
|---|---|
| List the merchant's groups | GET /v1/merchants/{merchantId}/connections/Payrix/billing-groups |
| Add the merchant to a group | POST /v1/merchants/{merchantId}/connections/Payrix/billing-groups |
| Remove the merchant from a group | DELETE /v1/merchants/{merchantId}/connections/Payrix/billing-groups/{billingGroupId} |
To add a group, send its Payrix group ID:
{
"billingGroupId": "{payrixGroupId}"
}Each request reads the merchant's groups from Payrix and saves them on the merchant's Payrix connection. The response is the merchant, and the Payrix connection's connectionspecificRequirements.billingGroups lists the IDs of the merchant's groups. Adding a group the merchant already belongs to, or removing one it doesn't belong to, succeeds without a change.
Payrix login
Only the hosted form creates a Payrix Portal login for the merchant. On the Account Login step, the merchant chooses a username, and Preczn creates the login at Payrix with portal access. When your platform connection has a Default User, the new login copies that user's portal permissions. Payrix can help you set up a default user. Preczn then sends the login with the merchant.
Through the API, you can't create a login.
When boarding fails
If any step at Payrix fails, Preczn stops, moves the connection to Error, and puts Payrix's errors in actionDescription. When you onboard again, Preczn skips the steps that already succeeded and resumes from the step that failed. It doesn't create a second Payrix entity, and it doesn't resend data from a step that already succeeded.
How Preczn checks status
Payrix sends each merchant status change to Preczn through the webhooks that Preczn created when you saved the platform connection. For how you receive status changes, see Status updates.
Merchant status
A Payrix connection moves through the following Preczn statuses. For Unconfigured and Evaluating, see Connection statuses.
| Preczn status | What it means | What to do |
|---|---|---|
| Requirements | The merchant is missing required data. | Collect the missing data. |
| Ready | The merchant meets every requirement. | Onboard the merchant. |
| Queued | Preczn accepted the onboard request. | Wait. |
| Sent | Preczn submitted the merchant to Payrix. | Wait for Payrix's review. |
| Underwriting | Payrix is reviewing the merchant. | Wait. |
| RFI | Payrix underwriting asked for more information. | See the Responding to an RFI section. |
| Active | Payrix boarded the merchant. | None. |
| Rejected | Payrix denied the merchant. | Contact Payrix for details. |
| Closed | The merchant is inactive at Payrix. | None. |
| Error | Preczn couldn't complete a step at Payrix. | Fix the problem, and then onboard again. |
Responding to an RFI
Payrix underwriting sends each request for information (RFI) by email, with the merchant's name and Payrix merchant ID in the subject and the requests as a bulleted list. To bring these requests into Preczn, forward the emails from your organization's domain to [email protected].
When the email matches a merchant's Payrix merchant ID, Preczn moves the connection to RFI and puts the list in actionDescription, which you see in the Dashboard, the API, and the merchant.updated webhook. Because emails vary, review each request before you show it to the merchant. Preczn sets actionDescriptionReviewed to false on each new request so you can track the review.
To respond, update the merchant's data and onboard again. See Responding to an RFI. Preczn sends the changes to the merchant's existing Payrix entity, moves the connection to Sent, and emails Payrix that the merchant's information was updated.
Close the account
To close a merchant's Payrix account through Preczn, call POST /v1/merchants/{merchantId}/connections/Payrix/close. The request has no body. Preczn sets the merchant's entity to inactive at Payrix, and then sets the merchant's Payrix connection to Closed.
{
"id": "{merchantId}",
"status": "Closed",
"processor": "Payrix",
"message": "Merchant account has been closed"
}Preczn returns 400 and doesn't close the connection in these cases:
- The merchant's Payrix connection has no Payrix merchant ID.
- Your Payrix platform connection has no credentials.
- The connection is already
Closed. - Payrix rejects the change, or the merchant's entity is frozen at Payrix.
- Payrix returns a response that Preczn doesn't recognize.
If the merchant's entity is already inactive at Payrix, Preczn sets the connection to Closed.
Processing transactions
Preczn processes the following transaction types through Payrix. For each type, see Choose a transaction type.
- Cards: sale, auth, capture, refund, void, and verify. A refund always refers to an earlier sale or capture.
- ACH: sale, refund, and verify. Preczn rejects an ACH auth, capture, or void with a
400error andACH_UNSUPPORTED_TRANSACTION_TYPE. Use a sale instead. For GIACT verification, webhooks, and test data, see Payrix ACH. - Wallets: Apple Pay and Google Pay card payments. See the Wallets section.
Payrix doesn't support 3D Secure through Preczn.
Synchronous and asynchronous outcomes
Results arrive as follows:
- Card sale, auth, capture, void, and verify return Approved or Declined right away. If Payrix reports the transaction as pending, Preczn returns Pending.
- Refunds return Pending when Payrix accepts them, even when Payrix approves them right away. A refund that Payrix rejects returns Declined.
- ACH sale returns Pending until Payrix captures it.
- ACH verify returns Approved, Pending, Declined, or Error right away. When GIACT verification is on and Payrix returns the verify as an Error with
generic_error, Preczn returns Pending instead. See Payrix ACH.
Payrix reports each later change through the webhooks Preczn created for your platform, and Preczn sends you the final status as a transaction webhook. See Transaction webhook payloads.
Wallets
Preczn decrypts every Apple Pay and Google Pay payment before it sends the payment to Payrix.
- Apple Pay always carries a network token, so Payrix labels the transaction as Apple Pay.
- Google Pay carries one of two things, and Google and the card issuer decide which. A card stored in Google Wallet on a device usually carries a network token, which Preczn sends to Payrix as Google Pay. A card saved to a Google account and used in a browser usually carries the card number, which Payrix receives as a standard card payment with no Google Pay label.
Preczn returns every Google Pay transaction with the Google Pay wallet type. A Google Pay transaction can show as Google Pay in Preczn and as a regular card transaction in the Payrix Portal.
The channel field
Payrix accepts an optional channel value of up to 1,000 characters on each transaction, and shows it in the Payrix Portal. Use it to attach your own information to a transaction.
Send channel on a sale, auth, or verify. A capture or refund carries the channel of the original transaction to Payrix, and ignores any value you send. A void doesn't send it.
Data sent to Payrix
Preczn sends the following values with limits or changes:
- Description. Preczn cuts
descriptionto 500 characters on a sale or auth. For each line item, Preczn sendsproductDescription, cut to 500 characters, as both the Payrix item name and description, and doesn't sendproductName. - Phone. Preczn removes everything but digits.
- Metadata. Preczn doesn't send metadata to Payrix.
- Level II and Level III data. Preczn sends tax, duty, freight, invoice, and line items on a sale or auth. Captures and refunds don't send them. See Add Level II and Level III data and Level III data.
AVS and CVV
Card sale, auth, and verify return AVS and CVV results when Payrix includes them. Send the billing address and cvv to get a meaningful result.
Transaction import
Preczn imports Payrix transactions for merchants linked to your platform. For how import works, see Transaction import.
- One-time import runs when you link or import a merchant while Import Merchant Transaction History is on. It covers the last six months, and skips voids and refunds.
- Continuous import brings in each new Payrix transaction as Payrix reports it, while Continuous Transaction Import is on.
Card and ACH transactions arrive. Preczn sets each imported transaction's status from its Payrix status:
| Payrix status | Preczn status |
|---|---|
| Pending | Pending |
| Approved, Captured, or Settled | Approved |
| Failed | Declined |
| Returned | Declined for ACH, Approved for cards |
| Any other status | Error |
SAQ
Preczn can send a merchant's signed SAQ to Payrix when you ask. Preczn attaches the signed PDF to a note on the merchant's Payrix account, and sets the merchant's Payrix SAQ type to SAQ-A and the SAQ date to the date the SAQ was signed. The merchant's Payrix connection needs a Payrix merchant ID. For the steps, see Sending an SAQ to Payrix.
Testing in test mode
In Test mode, Preczn boards merchants, links accounts, and sends payments to the Payrix sandbox with your test connection's API key. Saving the test connection creates its webhooks in the sandbox. For ACH test data, see Payrix ACH. See Live vs. test mode.
FAQ
Why doesn't a Google Pay transaction show Google Pay in the Payrix Portal?
Google Pay sent the card number, not a network token, so Payrix received a standard card payment. Preczn still returns the transaction as Google Pay. See the Wallets section.
Why is my refund still Pending?
Preczn returns every refund that Payrix accepts as Pending, and sends you the final status as a transaction webhook. See the Synchronous and asynchronous outcomes section.
Why wasn't a merchant added to a default group?
Payrix rejected the group ID, and Preczn continued boarding without it. Check the ID, and then add the merchant to the group through the API. See the Billing groups section.
Why doesn't an RFI from Payrix appear in Preczn?
The email didn't reach Preczn, its subject didn't contain a Payrix merchant ID that matches one of your merchants, or its body had no list of requests. Check your forwarding rule, the subject line, and that the forwarded email keeps Payrix's list. See the Responding to an RFI section.
Updated 11 days ago
