---
updatedAt: 2025-09-19T13:16:48.000Z
agentTools:
  projectIndex: https://docs.nexiopay.com/llms.txt
---

# USAePay integration guide

<img src="https://files.readme.io/ee3c518-usaepay_logo.jpg" alt="USAePay" align="right"/> USAePay is a gateway that allows you to collect card and echeck payments. This guide is intended to help you implement USAePay based on your preferred integration workflow.

# Services and compatibility

|                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Supported payment types**         | <ul style={{marginTop: '-5px', marginBottom: '-5px'}}><li>Card</li><li>eCheck</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Supported transaction types**     | <ul style={{marginTop: '-5px', marginBottom: '-5px'}}><li>Sale (saved card token or full card number) ( [API](https://docs.nexiopay.com/reference/runcardtransaction) / [API with iframe](https://docs.nexiopay.com/reference/runcardtransactioniframe) / [Tutorial](https://docs.nexiopay.com/docs/checkout-and-transaction-pages-for-ecommerce) )</li><li>Sale (echeck token) ( [API](https://docs.nexiopay.com/reference/runechecktransaction) / [API with iframe](https://docs.nexiopay.com/reference/runechecktransactioniframe) / [Tutorial](https://docs.nexiopay.com/docs/checkout-and-transaction-pages-for-ecommerce) )</li><li>Auth Only (saved card token or full card number) ( [API](https://docs.nexiopay.com/reference/runcardtransaction) / [Tutorial](https://docs.nexiopay.com/docs/checkout-and-transaction-pages-for-ecommerce) )</li><li>Capture (card) (partial and greater than) ( [API](https://docs.nexiopay.com/reference/capturetransaction) / [Dashboard](https://docs.nexiopay.com/docs/sandbox-environments#testing-in-sandbox) )</li><li>Void (card or echeck) ( [API](https://docs.nexiopay.com/reference/voidtransaction) / [Dashboard](https://docs.nexiopay.com/docs/sandbox-environments#testing-in-sandbox) )</li><li>Refund (card or echeck) (partial and multiple) ( [API](https://docs.nexiopay.com/reference/refundtransaction) / [Dashboard](https://docs.nexiopay.com/docs/sandbox-environments#testing-in-sandbox) )</li></ul> |
| **Supported processing currencies** | CAD, EUR, GBP, USD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **3D Secure 1.x supported**         | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **3D Secure 2.x supported**         | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **External 3D Secure supported**    | Yes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Installments supported**          | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

# Gateway-specific information

* USAePay settles batches daily.
* `paymentType` is not supported.
* USAePay support of void and refund includes card or echeck transactions.

# Configuration

Work with [Integrations Support](https://docs.nexiopay.com/page/contact-us) to add USAePay as a connection. You will need the following credentials from USAePay:

* source key
* PIN

# Required and optional fields

The following table shows the **optional** fields for USAePay transactions in the [Create one-time-use token](https://docs.nexiopay.com/reference/createonetimeusetoken) or [Run card transaction](https://docs.nexiopay.com/reference/runcardtransaction) request.

| Field                        | Required? | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data.descriptor.name`       | No        | For USAePay card transactions, include this parameter to dynamically change the descriptor on the customer's statement. If this parameter is not included, the system uses the default descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                                                                        |
| `data.descriptor.address`    | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the street address of the merchant. If this parameter is not included, the system uses the default street address descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                             |
| `data.descriptor.city`       | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the city of the merchant. If this parameter is not included, the system uses the default city descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                                 |
| `data.descriptor.state`      | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the state of the merchant. If this parameter is not included, the system uses the default state descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                               |
| `data.descriptor.postal`     | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the postal code of the merchant. If this parameter is not included, the system uses the default postal code descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                   |
| `data.descriptor.country`    | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the country of the merchant. If this parameter is not included, the system uses the default country descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                           |
| `data.descriptor.phone`      | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the phone number of the merchant. If this parameter is not included, the system uses the default phone number descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                 |
| `data.descriptor.url`        | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the website URL of the merchant. If this parameter is not included, the system uses the default URL descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                           |
| `data.descriptor.merchantId` | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the NMI ID of the merchant. If this parameter is not included, the system uses the default ID descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                                 |
| `data.descriptor.mcc`        | No        | For USAePay card transactions only, include this parameter to dynamically change the descriptor on the customer's statement for the merchant category code (MCC). If this parameter is not included, the system uses the default MCC descriptor (as set up on the merchant account that is originating the transactions).                                                                                                                                                                          |
| `clientIp`                   | No        | If you are having issues with transactions that are rejected by USAePay because of potential fraud, include the `clientIp` parameter in the payment request and explicitly set the value as the IP address of the device where the customer is submitting the payment information. If you do not explicitly set a value, it looks to USAePay as if the exact same IP address is sending out an inordinate amount of traffic and it is not possible to separate out the valid and invalid requests. |

## Example requests

The following is an example Run card transaction request for USAePay.

```shell Example Card Request for USAePay
curl -X POST https://api.nexiopaysandbox.com/pay/v3/process \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic [Base64_encoded_login]'
  -d '{
  "data": {
    "amount": 4.00,
    "descriptor": {
    	"name": "Our Company Name",
			"address": "123 Main St.",
			"city": "New York City",
      "state": "NY",
      "postal": "10001",
      "country": "US",
      "phone": "1555555555",
      "url": "https://your-ecommerce-website.example.com",
      "merchantId": "1234",
      "mcc": "5964"
		}
  },
  "paymentMethod": "card",
  "tokenex": {
		"token": "eb50a022-d6de-4244-a1e6-dcb8522b2d19"
  }
}'
```

The following is an example Run echeck transaction request for USAePay.

```shell Example eCheck Request for USAePay
curl -X POST https://api.nexiopaysandbox.com/pay/v3/processECheck \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic [Base64_encoded_login]'
  -d '{
  "data": {
    "amount": 4.00,
    "currency": "USD"
  },
  "tokenex": {
		"token": "eb50a022-d6de-4244-a1e6-dcb8522b2d19"
  }
}'
```

# Testing data

Use the following test card information to test your USAePay configuration.

| Brand            | Card number      | Exp date | Security code  | Cardholder name | Transaction result |
| ---------------- | ---------------- | -------- | -------------- | --------------- | ------------------ |
| Visa             | 4000100011112224 | Any      | Any            | Any             | Success            |
| Visa             | 4000300011112220 | Any      | Any            | Any             | Decline            |
| Mastercard       | 5555444433332226 | Any      | Any            | Any             | Success            |
| American Express | 371122223332225  | Any      | Any (ex: 1234) | Any             | Success            |
| Discover         | 6011222233332224 | Any      | Any            | Any             | Success            |

# Status workflows

The status of a successful transaction with USAePay varies, depending on the options you choose.

<HTMLBlock>{`
<table style="width: 100%; border-collapse: collapse;">
<thead>
<tr>
  <th style="border: 1px solid #ddd; padding: 8px;"></th>
  <th style="border: 1px solid #ddd; padding: 8px;"></th>
</tr>
</thead>
<tbody>
<tr>
  <td style="border: 1px solid #ddd; padding: 8px;"><p><strong>Sale</strong></p>
</td>
  <td style="border: 1px solid #ddd; padding: 8px;"><p>When <code>isAuthOnly</code> is <code>false</code>, successful sale transactions will have the following statuses:<ul style={{marginTop: '-5px', marginBottom: '-5px'}}><li>pending* or authorized</li><li>settled</li></p>
</td>
</tr>
<tr>
  <td style="border: 1px solid #ddd; padding: 8px;"><p><strong>Auth only</strong></p>
</td>
  <td style="border: 1px solid #ddd; padding: 8px;"><p>When <code>isAuthOnly</code> is <code>true</code>, successful sale transactions will have the following status:<br/><ul style={{marginTop: '-5px', marginBottom: '-5px'}}><li>authOnly</li></p>
</td>
</tr>
<tr>
  <td style="border: 1px solid #ddd; padding: 8px;"><p><strong>Capture</strong></p>
</td>
  <td style="border: 1px solid #ddd; padding: 8px;"><p>Successful capture transactions will have the following statuses:<ul style={{marginTop: '-5px', marginBottom: '-5px'}}><li>pending* or authorized</li><li>settled</li></p>
</td>
</tr>
<tr>
  <td style="border: 1px solid #ddd; padding: 8px;"><p><strong>Void</strong></p>
</td>
  <td style="border: 1px solid #ddd; padding: 8px;"><p>Successful void transactions will have the following status:<ul style={{marginTop: '-5px', marginBottom: '-5px'}}><li>voided</li></p>
</td>
</tr>
<tr>
  <td style="border: 1px solid #ddd; padding: 8px;"><p><strong>Refund</strong></p>
</td>
  <td style="border: 1px solid #ddd; padding: 8px;"><p>Successful refund transactions will have the following statuses:<ul style={{marginTop: '-5px', marginBottom: '-5px'}}><li>pending* or authorized</li><li>settled</li></p>
</td>
</tr>
</tbody>
</table>
`}</HTMLBlock>

\*Pending status displays as "authorized" or "AUTHORIZED" in the Nexio Dashboard; it displays as `10`, meaning "authorized", in the response when querying transactions (for more information about `transactionStatus`, see the appropriate [`transactionStatus` table](https://docs.nexiopay.com/docs/constant-transaction-values#transaction-status-transactionstatus)).

If you have any additional questions or feedback, [contact us](https://docs.nexiopay.com/page/contact-us).

# See also

* [Getting started with ecommerce](https://docs.nexiopay.com/docs/getting-started-with-ecommerce)
* [Getting started with retail](https://docs.nexiopay.com/docs/getting-started-with-retail)
* [Pair terminal](https://docs.nexiopay.com/reference/pairterminal)
* [Using a third-party 3DS provider to run transactions](https://docs.nexiopay.com/docs/using-a-third-party-3ds-provider-to-run-transactions)
* [Sandbox environments](https://docs.nexiopay.com/docs/sandbox-environments)
* [Recurring billing overview](https://docs.nexiopay.com/docs/recurring-billing-overview)