Skip to content

Resolve API Reference (V5)

API Support: accounts@resolvepay.com

Legacy (v2) API documentation: https://app.resolvepay.com/docs/api/v2

Download OpenAPI description
Languages
Servers
Mock server
https://api-docs.resolvepay.com/_mock/swagger
Sandbox server
https://app-sandbox.resolvepay.com/api

Introduction

The Resolve API is organized around REST principles. It uses predictable resource-oriented URLs, standard HTTP verbs and response codes, and accepts and returns JSON-encoded request and response bodies.

Getting started

Resolve offers both server-side and client-side integrations. This documentation refers to the server-side API. Refer to our e-commerce plugin guides for details on client-side checkout solutions.

There is a sandbox API available for testing, which leverages the same data store as your sandbox dashboard. Testing on sandbox won't affect your live data or create money movements.

Environment Base URL
Production https://app.resolvepay.com/api/
Sandbox https://app-sandbox.resolvepay.com/api/

Authentication

Before using the API, reach out and get your Resolve account created. This account enables access to the credentials that are necessary for API access.

Resolve uses HTTP basic authentication where the username refers to your merchant ID, and the password refers to your secret API key.

Versioning and Upgrading

When backwards-incompatible changes are released, a new, dated version is released. The current version is V5. You can upgrade the version of the api that your account uses within your merchant settings.

Legacy (v2) API documentation may be found here.

Rate Limits

To ensure platform reliability and fair use, Resolve implements rate limits for the REST API.

Resolve APIs use the Sliding Window algorithm to monitor and control request rates with a 100 requests/minute limit. The API will return a 429 Too Many Requests status if the amount of requests exceeds rate limits.

All responses from Resolve APIs will include the following headers:

  • X-Ratelimit-Limit: The maximum amount of requests permitted within a 60-second period.
  • X-Ratelimit-Remaining: The remaining requests within the current period.
  • X-Ratelimit-Reset: A UNIX timestamp indicating when the rate limit period will reset.

Best Practices

  • Use caching when necessary for data that is routinely requested by your application.
  • Utilize the X-Ratelimit-Limit and X-Ratelimit-Remaining response headers in your application to avoid surpassing rate limits.
  • Your application should avoid making additional API requests if your requests return with a 429 status code.

Webhooks

Webhooks allow you to receive real-time notifications about events in your Resolve account. When an event occurs, Resolve sends an HTTP POST request to your configured webhook endpoint with details about the event.

Operations

Invoices

The invoice represents the business transaction between you and your customer. In Resolve, an invoice must be tied to a customer and an advance can be taken on the invoice.

For an advance to be taken on the invoice, a PDF of the invoice must be uploaded and the associated customer must be approved and have available credit for the amount of the invoice.

Operations

Customers

A customer represents a company that you do business with. For larger companies, there may be several users with access to the customer account that can make purchases with their credit line. For smaller companies, a customer may represent a single individual. Retrieve a customer to get a summary of their total credit line and available credit balance.

Operations

Payouts

A Payout is a transfer of money between the Merchant and Resolve.

Operations

Payout Transactions

Payout Transactions are the individual transactions like customer payments, Resolve advances, forwarded payments, etc. that are rolled into a Payout. Each Payout is the sum of one or more transactions. Note that certain fields are only relevant to certain transaction types - e.g.: a Payout Transaction of type monthly_fee will have both customer_id and invoice_id set to null.

Operations

List Payout Transactions

Request

Security
basicAuth
Query
limitinteger[ 25 .. 100 ]

Limit the number of payout transactions returned.

Default 25
pagestring

Specify the page of payout transactions returned.

Default "1"
filterstring

Filter Payout Transactions by the specified fields.

Filter semantics: filter[field][operator]=value.

Available filter operators:

  • eq - equal (=)
  • ne - not equal (!=)
  • gt - greater than (>)
  • gte - greater than or equal (>=)
  • lt - less than (<)
  • lte - less than or equal (<=)

Filtering is allowed by the following fields:

  • customer_id (eq, ne)
  • created_at (eq, gt, lt, gte, lte)
  • payout_id (eq, ne)
  • invoice_id (eq, ne)

Example: filter[created_at][gte]=2021-01-01T00:00:00.000Z

Note: filter with the eq operator is equivalent to the following filter filter[field]=value

sortstring

Sort Payout Transactions by the specified fields.

The sort order for each sort field is ascending unless it is prefixed with a minus, in which case it is descending.

Multiple sort fields supported by allowing comma-separated sort fields. Sort fields will be applied in the order specified.

Sorting is allowed by the following fields: id, created_at.

Example: sort=id,-created_at

curl -i -X GET \
  -u <username>:<password> \
  'https://api-docs.resolvepay.com/_mock/swagger/payout-transactions?limit=25&page=1&filter=string&sort=string'

Responses

An object with an array of results containing up to the limit. If no payout transactions are found, the results array will be empty.

Bodyapplication/json
limitinteger
Example: 25
pageinteger
Example: 1
resultsArray of objects(PayoutTransactionObject)
Response
application/json
{ "limit": 25, "page": 1, "results": [ { … } ] }

Get a Payout Transaction

Request

Security
basicAuth
Path
payout_transaction_idstringrequired

ID of the Payout Transaction

curl -i -X GET \
  -u <username>:<password> \
  'https://api-docs.resolvepay.com/_mock/swagger/payout_transactions/{payout_transaction_id}'

Responses

An object representing the created Payout Transaction.

Bodyapplication/json
idstring

Unique identifier of the payout transactions.

Example: "AOncfxMnm"
payout_idstring

Resolve payout ID.

Example: "gQxGLAowY"
typestring

Type of the payout transaction.

Enum"advance""payment""refund""monthly_fee""annual_fee""non_advanced_invoice_fee""merchant_payment""mdr_extension""credit_note""express_ach_payout_fee"
Example: "advance"
customer_idstring

Resolve customer ID.

Example: "voArW2nSs"
customer_namestring

Name of the customer.

Example: "Test name"
invoice_idstring

Resolve invoice ID.

Example: "C2vBqxfZ4"
invoice_numberstring

Invoice number identifier.

Example: "R334-097R"
order_idstring

Resolve order ID.

Example: "u5WRraCYY"
po_numberstring

PO number identifier.

Example: "PO-09785"
amount_grossinteger

Payout transaction gross amount.

Example: 100
amount_feeinteger

Payout transaction fee amount.

Example: 3
amount_netinteger

Payout transaction net amount.

Example: 97
created_atstring

Date time of when the payout transaction was created.

Example: "2022-09-06T03:08:37.508Z"
updated_atstring

Date time of when the payout transaction was last updated.

Example: "2022-09-06T03:08:37.508Z"
Response
application/json
{ "id": "AOncfxMnm", "payout_id": "gQxGLAowY", "type": "advance", "customer_id": "voArW2nSs", "customer_name": "Test name", "invoice_id": "C2vBqxfZ4", "invoice_number": "R334-097R", "order_id": "u5WRraCYY", "po_number": "PO-09785", "amount_gross": 100, "amount_fee": 3, "amount_net": 97, "created_at": "2022-09-06T03:08:37.508Z", "updated_at": "2022-09-06T03:08:37.508Z" }

Payments

A payment represents a transaction where a customer pays towards their invoices. When a payment is made to Resolve, the customer's available credit balance is increased by the amount of the payment. Payments can be made via various methods including ACH, credit card, check, or wire transfer. Each payment can be applied to one or more invoices.

Operations

Credit Notes

Credit Notes are issued to customers to reduce the amount they owe.

Operations

Shipments

A shipment represents the fulfillment of goods or services for an invoice. Track shipments to monitor delivery status and fulfillment progress. Shipments can be fulfilled through various methods including shipping providers, self-delivery, customer pickup, or for services-only transactions.

Operations