Spendbacks

View spendbacks

Returns all spendbacks that meet the specified parameters (if any) and that are associated with the Nexio account used to authenticate.

This is the only endpoint where you can use spendbackRef in the request to view a specific spendback based on that value.

You may also request to filter results using one or more query parameters.

<!-- theme: info -->

📘 Notes

For example, to return (filter) only the spendback with the specified spendbackRef parameter, the request would look like this: <code>/payout/v3/spendback?spendbackRef=43b57dce-4dca-474a-84f4-4684f3a8aa52</code><br/><br/>To return (filter) all spendbacks where the currency is EUR and there was an error response from the provider, the request would look like this: <code>/payout/v3/spendback?currency=EUR&spendbackStatus=90</code><br/><br/>For a more detailed tutorial, see the query parameters section of Guides.

<!-- theme: warning -->

⚠️ Try It

To use the Try It feature for this endpoint, you must use the credentials for your Sandbox API user.

<div style="display:none;">

Request parameters

  • amount
  • currency
  • description
  • endDate
  • id
  • limit
  • offset
  • payoutAccountId
  • providerId
  • providerResponse
  • providerSpendbackRef
  • providerType
  • recipientId
  • recipientRef
  • spendbackRef
  • spendbackStatus
  • startDate
  • updatedAt
  • createdAt
  • spendbackDate

Response parameters

  • offset
  • limit
  • rows
  • rows.id
  • rows.spendbackRef
  • rows.recipientId
  • rows.recipientRef
  • rows.payoutAccountId
  • rows.providerId
  • rows.providerType
  • rows.providerSpendbackRef
  • rows.amount
  • rows.currency
  • rows.description
  • rows.spendbackDate
  • rows.spendbackStatus
  • rows.providerResponse
  • rows.createdAt
  • rows.updatedAt
  • hasMore
</div>
get/payout/v3/spendback

Query parameters

limitinteger
Example:12

The maximum number of spendback records to return in a response (starting from the default or specified offset query parameter).

offsetinteger
Example:10

The offset indicates to the system to skip that many spendback records before beginning to return spendbacks in a response. Setting offset=0 is the same as omitting the offset parameter. If you use both offset and limit, the offset spendbacks are skipped before starting to count the spendbacks to limit.

startDatestring
Example:2019-02-13

The start date to use for a search of when a spendback record was created. Format: YYYY-MM-DD. However, you can specify parts of the date as well, such as 2021-10 to get all spendbacks created starting in the fourth quarter of 2021. Can be used with endDate to specify a range. The default value is 30 days prior to the current date.

endDatestring
Example:2021-11-29

The end date to use for a search of when a spendback record was created. Format: YYYY-MM-DD. However, you can specify parts of the date as well, such as 2021-10 to get all spendbacks created in the month of October of 2021. Can be used with startDate to specify a range. The default is the current date.

idinteger
Example:2598

The ID value auto-generated by Nexio when the spendback request was submitted. This value is used to perform a 'contains' search.

spendbackRefstring
Example:43b57dce-4dca-474a-84f4-4684f3a8aa52

Reference value for the spendback request. Use this to allow for easier synchronization and searching across different systems. This value is used to perform a 'contains' search.

recipientIdinteger
Example:137256

The Nexio ID for the recipient. This value is used to perform an 'exact match' search.

recipientRefstring
Example:[your_recipient_id]

Your unique identifier for a recipient. This is the payer account used for the spendback. Use this to allow for easier synchronization and searching across different systems. This value is used to perform a 'contains' search.

payoutAccountIdinteger
Example:3927

The Nexio ID for the payout account. Useful for identifying the business or business segment associated with the recipient. This value is used to perform a 'contains' search.

providerIdinteger
Example:12610

The Nexio ID for the provider. Indicates which payout provider was associated with this recipient profile. This value is used to perform an 'exact match' search.

providerType10 | 20 | 30 | 40
Example:30

The Nexio ID for the provider configuration used to create the recipient. This value is used to perform an 'exact match' search. <br/> <br/> Possible values include the following:<br/> 10 - Interchecks<br/> 20 - Hyperwallet<br/> 30 - Payquicker<br/> 40 - Nexio's mock payout provider for quicker sandbox integration.

providerSpendbackRefstring
Example:spnd_bk_519cbf18-b472-11ec-a6cf-06ff2a295e6f

Reference value for the spendback from the payout provider. This allows for easier synchronization and searching across different systems. This value is used to perform a 'contains' search.

amountnumber
Example:14.83

The spendback amount. The maximum value has 16 digits total, including up to two of those digits after the decimal point. This value is used to perform an 'exact match' search.

currencystring
Example:USD

The three-character ISO currency code for the spendback. This value is used to perform a 'contains' search.

descriptionstring
Example:Sample spendback description

Description information for the spendback. This value is used to perform a 'contains' search.

spendbackDatestring
Example:2001-08-26T13:35:00Z

The date of the spendback, in ISO-8601 format and expressed in UTC.

spendbackStatus'10' | '20' | '90'
Example:20

The status of the spendback. This value is used to perform an 'exact match' search. For more information about possible values, see the spendbackStatus table.

providerResponsestring
Example:[provider's-unique-response]

Error message from the provider in case of a failed spendback. This value is used to perform an 'exact match' search.

createdAtstring
Example:2019-02-21T05:39:59.000Z

The date and time the spendback record was created in Nexio, formatted as an ISO-8601 date expressed in UTC. This value is used to perform a 'contains' search.

updatedAtstring
Example:2019-02-23T05:39:59.000Z

The date and time at which the spendback record was most recently updated in Nexio, formatted as an ISO-8601 date expressed in UTC. This value is used to perform a 'contains' search.

Response

OK

offsetinteger

The offset indicates how many spendback records were skipped before beginning to return spendbacks in a response. If both offset and limit were used together, the offset spendbacks were skipped before starting to count the spendbacks to limit.

limitinteger

The maximum number of spendback records returned in a response (starting from the default or specified offset query parameter).

rowsSchema[] — unresolved $ref

The rows array contains one or more sets of spendback parameters.

hasMoreboolean

Will be true if there are more records not included in the current paged response

Changes

No recorded changes to this endpoint across all 1 revision of this API.