For the complete documentation index, see llms.txt. This page is also available as Markdown.

Payouts

Get all payouts

Restricted!

This operation is currently in beta-test and as such it is subject to change.

Returns payouts for reconciling bank deposits against Mews. Constituent transactions are retrieved separately via Get all payout transactions. Note this operation uses Pagination and supports Portfolio Access Tokens.

Request

[PlatformAddress]/api/connector/v1/payouts/getAll

{
  "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
  "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
  "Client": "Sample Client 1.0.0",
  "PayoutDateUtc": {
    "StartUtc": "2023-08-01T00:00:00Z",
    "EndUtc": "2023-08-31T00:00:00Z"
  },
  "EnterpriseIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "4d0201db-36f5-428b-8d11-4f0a65e960cc"
  ],
  "Limitation": {
    "Count": 100
  }
}
Property
Type
Contract
Description

ClientToken

string

required

Token identifying the client application.

AccessToken

string

required

Access token of the client application.

Client

string

required

Name and version of the client application.

EnterpriseIds

array of string

optional, max 1000 items

Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.

PayoutIds

array of string

optional, max 100 items

Unique identifiers of the requested payouts.

PayoutDateUtc

Time interval

optional, max length 3 months

Interval in which the payout was executed.

PaymentProviders

array of Payment provider

optional

Payment service providers to filter payouts by.

Limitation

Limitation

required

Limitation on the quantity of data returned and optional Cursor for the starting point of data.

Response

Property
Type
Contract
Description

Payouts

array of Payout

required, max 1000 items

The payouts.

Cursor

string

optional

Unique identifier of the last returned payout, used as the starting point of the next data page. Null when there are no more data.

Payout

Property
Type
Contract
Description

Id

string

required

Unique stable identifier of the payout.

EnterpriseId

string

required

Unique identifier of the enterprise that owns the payout.

State

Payout state

required

Current state of the payout.

Provider

Payment provider

required

Payment service provider that holds the balance the payout was made from.

PayoutDateUtc

string

optional

Date and time the payout was recorded in Mews, in UTC timezone in ISO 8601 format. This is not the date the funds arrived in the destination bank account.

Amount

required

Total net amount paid out to the destination bank account, after fees and deductions. The individual fee and deduction transactions are available through the payout's transactions.

BankDescriptor

string

optional

Payout descriptor currently configured for the integration, as used on bank statements. Reflects the current configuration and may differ from the descriptor shown on statements of older payouts.

Payout state

  • Pending - The payout has been initiated but is not yet confirmed as paid.

  • Paid - The payout has been paid out to the destination bank account.

  • Failed - The payout failed and the funds were not paid out.

Payment provider

circle-ellipsis

Note the list of values is not exhaustive. The API may return additional values that are not listed here.

  • Adyen - Adyen

  • Stripe - Stripe

  • PayPal - PayPal

  • Braintree - Braintree

  • WireTransfer - Wire transfer

  • MewsFS - Mews Financial Services

  • …

Get all payout transactions

Restricted!

This operation is currently in beta-test and as such it is subject to change.

Returns the transactions that compose payouts, filtered by payout. Note this operation uses Pagination and supports Portfolio Access Tokens.

Request

[PlatformAddress]/api/connector/v1/payoutTransactions/getAll

Property
Type
Contract
Description

ClientToken

string

required

Token identifying the client application.

AccessToken

string

required

Access token of the client application.

Client

string

required

Name and version of the client application.

EnterpriseIds

array of string

optional, max 1000 items

Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.

PayoutIds

array of string

required, max 100 items

Unique identifiers of the payouts whose transactions are requested.

Limitation

Limitation

required

Limitation on the quantity of data returned and optional Cursor for the starting point of data.

Response

Property
Type
Contract
Description

PayoutTransactions

array of Payout transaction

required, max 1000 items

The payout transactions.

Cursor

string

optional

Unique identifier of the last returned transaction, used as the starting point of the next data page. Null when there are no more data.

Payout transaction

Property
Type
Contract
Description

Id

string

required

Unique stable identifier of the transaction, kept stable over time for re-fetch and reconciliation.

PayoutId

string

required

Unique identifier of the payout this transaction belongs to.

Type

Balance transaction type

required

Type of the transaction. Never Payout, because a payout is not one of its own transactions.

Amount

required

Amount of the transaction.

PaymentId

string

optional

Unique identifier of the related payment, when the transaction is backed by one.

InvoiceReferences

array of string

optional, max 100 items

Invoice references associated with the transaction, when available.

CreatedUtc

string

required

Date and time the transaction was created, in UTC timezone in ISO 8601 format. This is the date of the underlying transaction rather than of the payout, so it can fall outside the interval used to filter payouts.

Balance transaction type

circle-ellipsis

Note the list of values is not exhaustive. The API may return additional values that are not listed here.

  • Charge - A payment charged to a guest, or its refund or chargeback.

  • MerchantCommission - Commission charged by Mews.

  • PlatformFee - Platform fee charged by Mews.

  • Payout - A payout to the enterprise's bank account, decreasing the balance.

  • BalanceTopUp - A top-up of the balance.

  • CommissionAdjustment - An adjustment to a previously charged commission.

  • ReserveAdjustment - An adjustment to the chargeback reserve held for the account.

  • RollingBalanceAdjustment - The part of a payout cycle's settled funds that the payment service provider did not transfer to the bank, recorded against that payout so its transactions reconcile with the amount paid. Negative when funds were deferred to a later payout, positive when previously deferred funds were released.

  • …

Last updated

Was this helpful?