Entity the request operates on — an entity id (ent_<uuid>) or me (the partner's sole entity).
Query Parameters
limit
integer
default:50
Maximum number of resources to return, 1 to 50. Defaults to 50.
Required range: 1 <= x <= 50
startingAfter
string
Cursor for forward (older) pagination: a resource id. The page returned starts immediately after this resource. Mutually exclusive with endingBefore.
endingBefore
string
Cursor for backward (newer) pagination: a resource id. The page returned ends immediately before this resource. Mutually exclusive with startingAfter.
externalId
string
Return only the payment whose externalId matches (your own id).
status
enum<string>
Filter by payment status.
Available options:
scheduled,
in-progress,
completed,
failed,
canceled
originatingAccountId
string
Return only payments drawn from this internal originating account (acct_).
receivingAccountId
string
Return only payments sent to this external receiving account (acct_).
created[gte]
string<date-time>
Return payments created at or after this RFC 3339 timestamp.
created[lte]
string<date-time>
Return payments created at or before this RFC 3339 timestamp.
metadata
object
Filter by metadata key/value pairs, e.g. metadata[invoiceId]=INV-42. Matches payments whose metadata contains every supplied pair.
Hide child attributes
metadata.{key}]
string
Response
A page of payments, newest first.
data
object[]
required
Hide child attributes
data.deliveryPreference
enum<string>
required
Effective delivery preference. Reflects the faster variant when one was applied, otherwise the receiving rail's normal-speed value. Card-funded ACH and wire payments always report the fast name (same-day-ach / instant-domestic-wire) — a card collect is immediate, so those payments deliver at the fast speed.
Available options:
standard-ach,
same-day-ach,
rtp,
standard-check,
express-check,
overnight-check,
domestic-wire,
instant-domestic-wire,
virtual-card,
instant-virtual-card,
counterparty-choice,
international-fx,
fast-international-fx,
international-gusd
data.fees
object[]
required
The fees charged for this payment. Includes both the originator-side and receiver-side fees; use chargeTo on each item to tell them apart. Always present — an empty array when no fees have been recorded yet (e.g. a freshly created payment). Receiver-side fees appear when the receiver upgraded the payment (see receiverUpgrade): rtp and same-day-ach are netted — deducted from the amount the receiver is paid. An instant-virtual-card upgrade carries no fee.
Hide child attributes
data.fees.type
enum<string>
required
What the fee is for. Delivery-method fees use the delivery preference they apply to (standard-ach, same-day-ach, rtp, standard-check, express-check, overnight-check, domestic-wire, instant-domestic-wire, counterparty-choice, international-fx, fast-international-fx, international-gusd); funding-source fees use the funding-source type (card).
Available options:
standard-ach,
same-day-ach,
rtp,
standard-check,
express-check,
overnight-check,
domestic-wire,
instant-domestic-wire,
counterparty-choice,
international-fx,
fast-international-fx,
international-gusd,
card
data.fees.chargeTo
enum<string>
required
Which side of the payment the fee is levied on: the account originating the payment or the account receiving it. Works for both estimated (calculator) and applied (payment) fees.
Available options:
originator,
receiver
data.fees.status
enum<string>
required
Whether the fee has been charged or is still pending.
Available options:
charged,
pending
data.fees.fixed
object
Present when the fee is a flat amount.
Hide child attributes
data.fees.fixed.value
integer
Flat fee, minor units (cents)
data.fees.percent
object
Present when the fee is a percentage of the payment amount.
Hide child attributes
data.fees.percent.rate
number
Percentage rate (e.g. 2.9 = 2.9%)
data.fees.percent.min
integer
Minimum fee, minor units (cents)
data.fees.percent.max
integer
Maximum fee, minor units (cents)
data.fees.amount
integer
The resolved fee for the requested payment amount, in minor units (cents). Absent only when the fee cannot be resolved without a per-payment quote (e.g. tiered pricing).
data.id
string
Opaque payment id (pay_)
data.externalId
string
Your own unique identifier for the resource. Unique per partner per resource type (reusing one returns 409 DUPLICATE_EXTERNAL_ID). Distinct from the Idempotency-Key header, which dedupes the request rather than identifying the resource.
Maximum string length: 255
Pattern: ^[A-Za-z0-9_-]+$
data.amount
integer
data.currency
string
data.originatingAccountId
string
Internal originating account id (acct_)
data.receivingAccountId
string
External receiving account id (acct_)
data.deductionDate
string<date>
data.deliveryDate
string<date>
data.status
enum<string>
While a payment is being reviewed it is reported as scheduled; there is no separate review status.
Available options:
scheduled,
in-progress,
completed,
failed,
canceled
data.failureReason
object
Why a payment failed. Present only when status is failed, and absent otherwise.
Codes are named after the industry code that produced them - the NACHA return code for an ACH return (R02_ACCOUNT_CLOSED), CARD_ for an ISO 8583 card decline - so a code can be matched against a bank return without a translation table. Failures with no industry code behind them (a returned check, a risk decision) carry a descriptive name instead.
type says which leg of the payment failed, so the same code serves both legs: R02_ACCOUNT_CLOSED under failed-to-collect refers to the payer's account, and under failed-to-deliver to the recipient's. Always read code together with type.
message is human-readable and may be reworded at any time, so do not parse or match on it. New code values may be added within an existing type, so treat an unrecognized code as the generic code for its type (COLLECTION_FAILED, DELIVERY_FAILED or RISK_DECLINED) rather than as an error.
Hide child attributes
data.failureReason.type
enum<string>
required
Which leg of the payment failed.
failed-to-collect - the funds could not be debited from the originating account, so no money left the payer. Typically fixable by the payer (top up the account, fix the bank details) and then re-creating the payment.
failed-to-deliver - the funds were collected but could not be credited to the receiving account, and are returned to the payer. Usually needs corrected recipient details before re-creating the payment.
risk-declined - the payment was declined in review before any money moved.
Available options:
failed-to-collect,
failed-to-deliver,
risk-declined
data.failureReason.code
enum<string>
required
Stable, machine-readable failure code, named after the industry code behind it.
NACHA return codes (R##_*) can appear under failed-to-collect or failed-to-deliver; type says which account the code refers to.
Card declines (CARD_*) are ISO 8583 issuer responses and appear only under failed-to-collect, since only the payer funds a payment with a card.
Delivery outcomes (CHECK_RETURNED, VIRTUAL_CARD_EXPIRED, CANCELED_BY_RECIPIENT, RECIPIENT_DETAILS_NOT_PROVIDED) have no industry code behind them and appear only under failed-to-deliver.
Risk codes (VERIFICATION_FAILED, UNSUPPORTED_BUSINESS_TYPE, UNSUPPORTED_LOCATION, PAYMENT_NOT_ALLOWED, DUPLICATE_PAYMENT_DETECTED, RISK_DECLINED) appear only under risk-declined. Declines are reported as the bare RISK_DECLINED whenever the underlying reason cannot be disclosed, so it does not imply the reason is unknown.
Available options:
R01_INSUFFICIENT_FUNDS,
R02_ACCOUNT_CLOSED,
R03_NO_ACCOUNT,
R04_INVALID_ACCOUNT_NUMBER,
R05_UNAUTHORIZED_DEBIT,
R08_PAYMENT_STOPPED,
R09_UNCOLLECTED_FUNDS,
R10_NOT_AUTHORIZED,
R13_INVALID_ROUTING_NUMBER,
R16_ACCOUNT_FROZEN,
R20_NON_TRANSACTION_ACCOUNT,
R23_CREDIT_REFUSED,
R29_CORPORATE_NOT_AUTHORIZED,
R84_CREDIT_EXCEPTION,
CARD_DO_NOT_HONOR,
CARD_INVALID_TRANSACTION,
CARD_INSUFFICIENT_FUNDS,
CARD_LIMIT_EXCEEDED,
CARD_BALANCE_UNAVAILABLE,
CHECK_RETURNED,
VIRTUAL_CARD_EXPIRED,
CANCELED_BY_RECIPIENT,
RECIPIENT_DETAILS_NOT_PROVIDED,
VERIFICATION_FAILED,
UNSUPPORTED_BUSINESS_TYPE,
UNSUPPORTED_LOCATION,
PAYMENT_NOT_ALLOWED,
DUPLICATE_PAYMENT_DETECTED,
RISK_DECLINED,
COLLECTION_FAILED,
DELIVERY_FAILED
data.failureReason.message
string
required
Human-readable explanation of the failure. Display-only; do not match on it.
Example:
{ "type": "failed-to-collect", "code": "R01_INSUFFICIENT_FUNDS", "message": "The account had insufficient funds to cover the payment." }
data.noteToSelf
string
Payer-private memo, never shown to the recipient
data.noteToRecipient
string
Note shown to the payment recipient
data.metadata
object
Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 500 keys; each key 1 to 40 chars and may not contain square brackets ([], reserved for the metadata[key] filter); value ≤100 chars. The whole object must serialize to at most 128KB of JSON. Filterable via metadata[key].
Hide child attributes
data.metadata.{key}
string
Maximum string length: 100
data.tracking
object
Delivery tracking for the payment, discriminated by type. Appears once the rail has actually reported something — absent for wire and virtual-card payments, which report nothing, and for payments whose delivery has not reached the rail yet (a scheduled payment never carries it). A present object always holds at least one identifier or timestamp; the remaining fields fill in as the delivery progresses, so treat each of them as optional.
Option 1
Option 2
Hide child attributes
data.tracking.type
enum<string>
required
Available options:
ach
data.tracking.traceNumber
string
The ACH trace number of the delivery transfer, as reported by the network — the RTP root id for an RTP delivery. Absent until the transfer has been submitted.
data.tracking.sentAt
string<date-time>
When the delivery transfer was submitted to the network.
data.tracking.clearedAt
string<date-time>
When the delivery transfer settled at the receiving bank.
data.receiverUpgrade
object
Present when the receiving party upgraded the payment from the payment notification Melio sent them. The upgrade itself is the payment's deliveryPreference (rtp, same-day-ach or instant-virtual-card) and receivingAccountId; the upgradedFrom* fields hold what you originally chose. A speed upgrade (rtp, same-day-ach) keeps the receiving account; the others move the payment to an account the receiver added (a bank account in place of a check, or a virtual card). The receiver pays for the upgrade — see the receiver-side entries in fees. An upgraded payment can no longer be updated (409 PAYMENT_UPGRADED_BY_RECEIVER).
The normal-speed delivery preference of the receiving account you chose, named as in deliveryPreference (e.g. standard-ach, standard-check, or same-day-ach for a card-funded payment).
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Melio Payouts API","colors":{"primary":"#7849ff","light":"#b79eff","dark":"#5f33e6"},"logo":{"light":"https://mintcdn.com/melio/xvWXKzlr8EBNoRDW/images/melio-wordmark.svg?fit=max\u0026auto=format\u0026n=xvWXKzlr8EBNoRDW\u0026q=85\u0026s=64c5b00a44de83a5745e570ecf3d0fc2","dark":"https://mintcdn.com/melio/-5UmKJJuHDVMiDrl/images/melio-wordmark-invert.svg?fit=max\u0026auto=format\u0026n=-5UmKJJuHDVMiDrl\u0026q=85\u0026s=d39c348234f65d6b306ccd6084ebbc01","href":"https://melio.com/"},"favicon":{"light":"https://mintcdn.com/melio/J5BJFv_c5fQarBeJ/images/cropped-Melio_favicon_01-64x64.webp?fit=max\u0026auto=format\u0026n=J5BJFv_c5fQarBeJ\u0026q=85\u0026s=9f502b845554081800303c51cbf82a7c","dark":"https://mintcdn.com/melio/J5BJFv_c5fQarBeJ/images/cropped-Melio_favicon_01-64x64.webp?fit=max\u0026auto=format\u0026n=J5BJFv_c5fQarBeJ\u0026q=85\u0026s=9f502b845554081800303c51cbf82a7c"},"api":{"openapi":"openapi.json","params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["typescript","python","curl","java","ruby","go"],"prefill":true,"autogenerate":true},"url":"full","mdx":{"auth":{"method":"basic","name":"api-key"},"server":["https://api.staging01.melio.com","https://api.melio.com"]}},"background":{"color":{"dark":"#262D38"}},"navbar":{"links":[{"href":"https://developers.melio.com/contact","label":"Contact us"},{"href":"https://developers.melio.com/sign-in","label":"Log in"}],"primary":{"type":"button","label":"Sign up for beta","href":"https://developers.melio.com/sign-up"}},"seo":{"indexing":"navigable"},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"integrations":{"segment":{"key":"EJ3N2VRhwnd0eFx5CFt1BobojP0OF4GS"}},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"melio","hasAudioNarration":false,"actualSubdomain":"melio","customDomains":["developers.melio.com"],"gitSource":{"type":"github","owner":"melio","repo":"payouts-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae0ec738cfebfdf07ee030c"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af47aa92d65da0928c63ec7","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"Tools","count":10},{"language":"default","tag":"Building with the API","count":8},{"language":"default","tag":"Entities","count":7},{"language":"default","tag":"Core resources","count":6},{"language":"default","tag":"Risk, compliance \u0026 going live","count":6},{"language":"default","tag":"Accounts","count":6},{"language":"default","tag":"Payments","count":6},{"language":"default","tag":"Get started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".sidebar-group-header{font-size:0.9rem!important;font-weight:500!important;letter-spacing:0.01em}#page-title{font-size:2rem;line-height:1.25}#header .eyebrow{font-size:0.7rem!important}#header .prose{font-size:1rem!important}"}],"page":{"pagePath":"api-reference/payments/list-payments","slug":"/api-reference/payments/list-payments","pageMetadata":{"title":"List payments","description":"Returns the entity's payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\n","deprecated":null,"version":null,"openapi":"/openapi.json get /payments","href":"/api-reference/payments/list-payments","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns the entity’s payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List payments","description":"Returns the entity's payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\n","deprecated":null,"version":null,"openapi":"/openapi.json get /payments","href":"/api-reference/payments/list-payments","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Payments"],"summary":"List payments","description":"Returns the entity's payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\n","security":["4296763d-fa3c-433d-9f3d-4a6555faa3e5"],"parameters":["a7ee76ae-41ab-4494-aa5c-506049796b91","d6f27a04-4600-4528-9c13-37d2740938bb","79beb7fd-e7d6-4cb3-b0b0-0e8ee1ebc8cc","fbf1a942-db17-4693-9439-ffaec6096a27","ec2db9d8-d95d-4d07-a9ed-df17362d79a3","6846c884-6212-48a3-aca7-601bb38bdf31","89fd6beb-8405-471d-a6a0-f2307b0f470a","8a73bc48-25b9-4062-a399-accf2e9026fc","d8f25823-5cda-448e-a837-d37fc48b9678","c0a67a6b-7f52-4b72-9446-39fdff4830c1"],"responses":{"200":"adf5b346-aa29-49bc-ad08-8979d69d490f","404":"fbcf3420-247b-446d-a2e0-ce142c50065c"},"method":"get","type":"path","servers":["11023ec5-d3f9-4571-b97f-e305433ac479","a9b4dcdc-ad19-4ca1-80f3-760819968e97"],"path":"/payments","baseUrlOptions":["https://api.melio.com/v2","https://api.staging01.melio.com/v2"],"title":"List payments","codeSamples":[],"requestExampleLanguages":["typescript","python","bash","java","ruby","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[],"urlDisplay":"full"},"dependencies":{"parameters":{"a7ee76ae-41ab-4494-aa5c-506049796b91":{"name":"limit","in":"query","required":false,"description":"Maximum number of resources to return, 1 to 50. Defaults to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":50,"isRequired":false,"description":"Maximum number of resources to return, 1 to 50. Defaults to 50.","uniqueKey":"","typeLabel":"integer"}},"d6f27a04-4600-4528-9c13-37d2740938bb":{"name":"startingAfter","in":"query","required":false,"description":"Cursor for forward (older) pagination: a resource id. The page returned starts immediately after this resource. Mutually exclusive with `endingBefore`.\n","schema":{"type":"string","isRequired":false,"description":"Cursor for forward (older) pagination: a resource id. The page returned starts immediately after this resource. Mutually exclusive with `endingBefore`.\n","uniqueKey":"","typeLabel":"string"}},"79beb7fd-e7d6-4cb3-b0b0-0e8ee1ebc8cc":{"name":"endingBefore","in":"query","required":false,"description":"Cursor for backward (newer) pagination: a resource id. The page returned ends immediately before this resource. Mutually exclusive with `startingAfter`.\n","schema":{"type":"string","isRequired":false,"description":"Cursor for backward (newer) pagination: a resource id. The page returned ends immediately before this resource. Mutually exclusive with `startingAfter`.\n","uniqueKey":"","typeLabel":"string"}},"fbf1a942-db17-4693-9439-ffaec6096a27":{"name":"externalId","in":"query","required":false,"description":"Return only the payment whose `externalId` matches (your own id).","schema":{"type":"string","isRequired":false,"description":"Return only the payment whose `externalId` matches (your own id).","uniqueKey":"","typeLabel":"string"}},"ec2db9d8-d95d-4d07-a9ed-df17362d79a3":{"name":"status","in":"query","required":false,"description":"Filter by payment status.","schema":{"type":"string","enum":["scheduled","in-progress","completed","failed","canceled"],"isRequired":false,"description":"Filter by payment status.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"6846c884-6212-48a3-aca7-601bb38bdf31":{"name":"originatingAccountId","in":"query","required":false,"description":"Return only payments drawn from this internal originating account (acct_\u003cid>).","schema":{"type":"string","isRequired":false,"description":"Return only payments drawn from this internal originating account (acct_\u003cid>).","uniqueKey":"","typeLabel":"string"}},"89fd6beb-8405-471d-a6a0-f2307b0f470a":{"name":"receivingAccountId","in":"query","required":false,"description":"Return only payments sent to this external receiving account (acct_\u003cid>).","schema":{"type":"string","isRequired":false,"description":"Return only payments sent to this external receiving account (acct_\u003cid>).","uniqueKey":"","typeLabel":"string"}},"8a73bc48-25b9-4062-a399-accf2e9026fc":{"name":"created[gte]","in":"query","required":false,"description":"Return payments created at or after this RFC 3339 timestamp.","schema":{"type":"string","format":"date-time","isRequired":false,"description":"Return payments created at or after this RFC 3339 timestamp.","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"d8f25823-5cda-448e-a837-d37fc48b9678":{"name":"created[lte]","in":"query","required":false,"description":"Return payments created at or before this RFC 3339 timestamp.","schema":{"type":"string","format":"date-time","isRequired":false,"description":"Return payments created at or before this RFC 3339 timestamp.","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"c0a67a6b-7f52-4b72-9446-39fdff4830c1":{"name":"metadata","in":"query","required":false,"style":"deepObject","explode":true,"description":"Filter by metadata key/value pairs, e.g. `metadata[invoiceId]=INV-42`. Matches payments whose metadata contains every supplied pair.\n","schema":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"additionalProperties","typeLabel":"string"},"isRequired":false,"description":"Filter by metadata key/value pairs, e.g. `metadata[invoiceId]=INV-42`. Matches payments whose metadata contains every supplied pair.\n","uniqueKey":"","typeLabel":"object"}},"44f9776c-1c2c-4eaf-abd0-9c3ecb9ed2f2":{"name":"Melio-Entity-Id","in":"header","required":true,"description":"Entity the request operates on — an entity id (`ent_\u003cuuid>`) or `me` (the partner's sole entity).","schema":{"type":"string","isRequired":true,"description":"Entity the request operates on — an entity id (`ent_\u003cuuid>`) or `me` (the partner's sole entity).","uniqueKey":"","typeLabel":"string"}}},"responses":{"adf5b346-aa29-49bc-ad08-8979d69d490f":{"description":"A page of payments, newest first.","content":{"application/json":{"schema":{"type":"object","required":["data","hasMore"],"properties":{"data":{"type":"array","items":{"type":"object","required":["deliveryPreference","fees"],"properties":{"deliveryPreference":{"type":"string","description":"Effective delivery preference. Reflects the faster variant when one was applied, otherwise the receiving rail's normal-speed value. Card-funded ACH and wire payments always report the fast name (`same-day-ach` / `instant-domestic-wire`) — a card collect is immediate, so those payments deliver at the fast speed.\n","enum":["standard-ach","same-day-ach","rtp","standard-check","express-check","overnight-check","domestic-wire","instant-domestic-wire","virtual-card","instant-virtual-card","counterparty-choice","international-fx","fast-international-fx","international-gusd"],"isRequired":true,"uniqueKey":"data.items.[INDEX].deliveryPreference","typeLabel":"enum\u003cstring>"},"fees":{"type":"array","description":"The fees charged for this payment. Includes both the originator-side and receiver-side fees; use `chargeTo` on each item to tell them apart. Always present — an empty array when no fees have been recorded yet (e.g. a freshly created payment). Receiver-side fees appear when the receiver upgraded the payment (see `receiverUpgrade`): `rtp` and `same-day-ach` are netted — deducted from the amount the receiver is paid. An `instant-virtual-card` upgrade carries no fee.\n","items":{"type":"object","description":"A single fee charged for a payment. Shares the `Fee` shape used by the fee calculator (`type`, `chargeTo`, `fixed`/`percent`, `amount`, all monetary values in minor units), and adds `status`, which only applies once a fee has actually been applied to a payment.\n","required":["status","type","chargeTo"],"properties":{"type":{"type":"string","enum":["standard-ach","same-day-ach","rtp","standard-check","express-check","overnight-check","domestic-wire","instant-domestic-wire","counterparty-choice","international-fx","fast-international-fx","international-gusd","card"],"description":"What the fee is for. Delivery-method fees use the delivery preference they apply to (`standard-ach`, `same-day-ach`, `rtp`, `standard-check`, `express-check`, `overnight-check`, `domestic-wire`, `instant-domestic-wire`, `counterparty-choice`, `international-fx`, `fast-international-fx`, `international-gusd`); funding-source fees use the funding-source type (`card`).\n","isRequired":true,"uniqueKey":"data.items.[INDEX].fees.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"chargeTo":{"type":"string","enum":["originator","receiver"],"description":"Which side of the payment the fee is levied on: the account originating the payment or the account receiving it. Works for both estimated (calculator) and applied (payment) fees.\n","isRequired":true,"uniqueKey":"data.items.[INDEX].fees.items.[INDEX].chargeTo","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["charged","pending"],"description":"Whether the fee has been charged or is still pending.","isRequired":true,"uniqueKey":"data.items.[INDEX].fees.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"fixed":{"type":"object","description":"Present when the fee is a flat amount.","properties":{"value":{"type":"integer","description":"Flat fee, minor units (cents)","uniqueKey":"data.items.[INDEX].fees.items.[INDEX].fixed.value","typeLabel":"integer"}},"uniqueKey":"data.items.[INDEX].fees.items.[INDEX].fixed","typeLabel":"object"},"percent":{"type":"object","description":"Present when the fee is a percentage of the payment amount.","properties":{"rate":{"type":"number","description":"Percentage rate (e.g. 2.9 = 2.9%)","uniqueKey":"data.items.[INDEX].fees.items.[INDEX].percent.rate","typeLabel":"number"},"min":{"type":"integer","description":"Minimum fee, minor units (cents)","uniqueKey":"data.items.[INDEX].fees.items.[INDEX].percent.min","typeLabel":"integer"},"max":{"type":"integer","description":"Maximum fee, minor units (cents)","uniqueKey":"data.items.[INDEX].fees.items.[INDEX].percent.max","typeLabel":"integer"}},"uniqueKey":"data.items.[INDEX].fees.items.[INDEX].percent","typeLabel":"object"},"amount":{"type":"integer","description":"The resolved fee for the requested payment amount, in minor units (cents). Absent only when the fee cannot be resolved without a per-payment quote (e.g. tiered pricing).\n","uniqueKey":"data.items.[INDEX].fees.items.[INDEX].amount","typeLabel":"integer"}},"uniqueKey":"data.items.[INDEX].fees.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.items.[INDEX].fees","typeLabel":"object[]"},"id":{"type":"string","description":"Opaque payment id (pay_\u003cid>)","uniqueKey":"data.items.[INDEX].id","typeLabel":"string"},"externalId":{"type":"string","description":"Your own unique identifier for the resource. Unique per partner per resource type (reusing one returns 409 DUPLICATE_EXTERNAL_ID). Distinct from the Idempotency-Key header, which dedupes the request rather than identifying the resource.\n","maxLength":255,"pattern":"^[A-Za-z0-9_-]+$","uniqueKey":"data.items.[INDEX].externalId","typeLabel":"string"},"amount":{"type":"integer","uniqueKey":"data.items.[INDEX].amount","typeLabel":"integer"},"currency":{"type":"string","uniqueKey":"data.items.[INDEX].currency","typeLabel":"string"},"originatingAccountId":{"type":"string","description":"Internal originating account id (acct_\u003cid>)","uniqueKey":"data.items.[INDEX].originatingAccountId","typeLabel":"string"},"receivingAccountId":{"type":"string","description":"External receiving account id (acct_\u003cid>)","uniqueKey":"data.items.[INDEX].receivingAccountId","typeLabel":"string"},"deductionDate":{"type":"string","format":"date","uniqueKey":"data.items.[INDEX].deductionDate","typeLabel":"string\u003cdate>"},"deliveryDate":{"type":"string","format":"date","uniqueKey":"data.items.[INDEX].deliveryDate","typeLabel":"string\u003cdate>"},"status":{"type":"string","enum":["scheduled","in-progress","completed","failed","canceled"],"description":"While a payment is being reviewed it is reported as `scheduled`; there is no separate review status.\n","uniqueKey":"data.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"failureReason":{"type":"object","description":"Why a payment failed. Present only when `status` is `failed`, and absent otherwise.\n\nCodes are named after the industry code that produced them - the NACHA return code for an ACH return (`R02_ACCOUNT_CLOSED`), `CARD_` for an ISO 8583 card decline - so a code can be matched against a bank return without a translation table. Failures with no industry code behind them (a returned check, a risk decision) carry a descriptive name instead.\n\n`type` says which leg of the payment failed, so the same code serves both legs: `R02_ACCOUNT_CLOSED` under `failed-to-collect` refers to the payer's account, and under `failed-to-deliver` to the recipient's. Always read `code` together with `type`.\n\n`message` is human-readable and may be reworded at any time, so do not parse or match on it. New `code` values may be added within an existing `type`, so treat an unrecognized `code` as the generic code for its `type` (`COLLECTION_FAILED`, `DELIVERY_FAILED` or `RISK_DECLINED`) rather than as an error.\n","required":["type","code","message"],"properties":{"type":{"type":"string","description":"Which leg of the payment failed.\n\n`failed-to-collect` - the funds could not be debited from the originating account, so no money left the payer. Typically fixable by the payer (top up the account, fix the bank details) and then re-creating the payment.\n\n`failed-to-deliver` - the funds were collected but could not be credited to the receiving account, and are returned to the payer. Usually needs corrected recipient details before re-creating the payment.\n\n`risk-declined` - the payment was declined in review before any money moved.\n","enum":["failed-to-collect","failed-to-deliver","risk-declined"],"isRequired":true,"uniqueKey":"data.items.[INDEX].failureReason.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable, machine-readable failure code, named after the industry code behind it.\n\n**NACHA return codes** (`R##_*`) can appear under `failed-to-collect` or `failed-to-deliver`; `type` says which account the code refers to.\n\n**Card declines** (`CARD_*`) are ISO 8583 issuer responses and appear only under `failed-to-collect`, since only the payer funds a payment with a card.\n\n**Delivery outcomes** (`CHECK_RETURNED`, `VIRTUAL_CARD_EXPIRED`, `CANCELED_BY_RECIPIENT`, `RECIPIENT_DETAILS_NOT_PROVIDED`) have no industry code behind them and appear only under `failed-to-deliver`.\n\n**Risk codes** (`VERIFICATION_FAILED`, `UNSUPPORTED_BUSINESS_TYPE`, `UNSUPPORTED_LOCATION`, `PAYMENT_NOT_ALLOWED`, `DUPLICATE_PAYMENT_DETECTED`, `RISK_DECLINED`) appear only under `risk-declined`. Declines are reported as the bare `RISK_DECLINED` whenever the underlying reason cannot be disclosed, so it does not imply the reason is unknown.\n","enum":["R01_INSUFFICIENT_FUNDS","R02_ACCOUNT_CLOSED","R03_NO_ACCOUNT","R04_INVALID_ACCOUNT_NUMBER","R05_UNAUTHORIZED_DEBIT","R08_PAYMENT_STOPPED","R09_UNCOLLECTED_FUNDS","R10_NOT_AUTHORIZED","R13_INVALID_ROUTING_NUMBER","R16_ACCOUNT_FROZEN","R20_NON_TRANSACTION_ACCOUNT","R23_CREDIT_REFUSED","R29_CORPORATE_NOT_AUTHORIZED","R84_CREDIT_EXCEPTION","CARD_DO_NOT_HONOR","CARD_INVALID_TRANSACTION","CARD_INSUFFICIENT_FUNDS","CARD_LIMIT_EXCEEDED","CARD_BALANCE_UNAVAILABLE","CHECK_RETURNED","VIRTUAL_CARD_EXPIRED","CANCELED_BY_RECIPIENT","RECIPIENT_DETAILS_NOT_PROVIDED","VERIFICATION_FAILED","UNSUPPORTED_BUSINESS_TYPE","UNSUPPORTED_LOCATION","PAYMENT_NOT_ALLOWED","DUPLICATE_PAYMENT_DETECTED","RISK_DECLINED","COLLECTION_FAILED","DELIVERY_FAILED"],"isRequired":true,"uniqueKey":"data.items.[INDEX].failureReason.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the failure. Display-only; do not match on it.","isRequired":true,"uniqueKey":"data.items.[INDEX].failureReason.message","typeLabel":"string"}},"example":{"type":"failed-to-collect","code":"R01_INSUFFICIENT_FUNDS","message":"The account had insufficient funds to cover the payment."},"uniqueKey":"data.items.[INDEX].failureReason","typeLabel":"object"},"noteToSelf":{"type":"string","description":"Payer-private memo, never shown to the recipient","uniqueKey":"data.items.[INDEX].noteToSelf","typeLabel":"string"},"noteToRecipient":{"type":"string","description":"Note shown to the payment recipient","uniqueKey":"data.items.[INDEX].noteToRecipient","typeLabel":"string"},"metadata":{"type":"object","description":"Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 500 keys; each key 1 to 40 chars and may not contain square brackets (`[` `]`, reserved for the `metadata[key]` filter); value ≤100 chars. The whole object must serialize to at most 128KB of JSON. Filterable via `metadata[key]`.\n","additionalProperties":{"type":"string","maxLength":100,"uniqueKey":"data.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"maxProperties":500,"uniqueKey":"data.items.[INDEX].metadata","typeLabel":"object"},"tracking":{"oneOf":[{"type":"object","description":"Delivery tracking for the payment, discriminated by `type`. Appears once the rail has actually reported something — absent for wire and virtual-card payments, which report nothing, and for payments whose delivery has not reached the rail yet (a `scheduled` payment never carries it). A present object always holds at least one identifier or timestamp; the remaining fields fill in as the delivery progresses, so treat each of them as optional.\n","required":["type"],"properties":{"type":{"type":"string","enum":["ach"],"isRequired":true,"uniqueKey":"data.items.[INDEX].tracking.oneOf.0.type","typeLabel":"enum\u003cstring>"},"traceNumber":{"type":"string","description":"The ACH trace number of the delivery transfer, as reported by the network — the RTP root id for an RTP delivery. Absent until the transfer has been submitted.\n","uniqueKey":"data.items.[INDEX].tracking.oneOf.0.traceNumber","typeLabel":"string"},"sentAt":{"type":"string","format":"date-time","description":"When the delivery transfer was submitted to the network.","uniqueKey":"data.items.[INDEX].tracking.oneOf.0.sentAt","typeLabel":"string\u003cdate-time>"},"clearedAt":{"type":"string","format":"date-time","description":"When the delivery transfer settled at the receiving bank.","uniqueKey":"data.items.[INDEX].tracking.oneOf.0.clearedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.items.[INDEX].tracking.oneOf.0","typeLabel":"object"},{"type":"object","description":"Delivery tracking for the payment, discriminated by `type`. Appears once the rail has actually reported something — absent for wire and virtual-card payments, which report nothing, and for payments whose delivery has not reached the rail yet (a `scheduled` payment never carries it). A present object always holds at least one identifier or timestamp; the remaining fields fill in as the delivery progresses, so treat each of them as optional.\n","required":["type"],"properties":{"type":{"type":"string","enum":["check"],"isRequired":true,"uniqueKey":"data.items.[INDEX].tracking.oneOf.1.type","typeLabel":"enum\u003cstring>"},"checkNumber":{"type":"string","description":"The serial number printed on the check. Absent until the check has been issued.","uniqueKey":"data.items.[INDEX].tracking.oneOf.1.checkNumber","typeLabel":"string"},"issuedAt":{"type":"string","format":"date-time","description":"When the check was printed.","uniqueKey":"data.items.[INDEX].tracking.oneOf.1.issuedAt","typeLabel":"string\u003cdate-time>"},"mailedAt":{"type":"string","format":"date-time","description":"When the check was handed to the mail carrier.","uniqueKey":"data.items.[INDEX].tracking.oneOf.1.mailedAt","typeLabel":"string\u003cdate-time>"},"clearedAt":{"type":"string","format":"date-time","description":"When the check was deposited and cleared.","uniqueKey":"data.items.[INDEX].tracking.oneOf.1.clearedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.items.[INDEX].tracking.oneOf.1","typeLabel":"object"}],"uniqueKey":"data.items.[INDEX].tracking","typeLabel":"object"},"receiverUpgrade":{"type":"object","description":"Present when the receiving party upgraded the payment from the payment notification Melio sent them. The upgrade itself is the payment's `deliveryPreference` (`rtp`, `same-day-ach` or `instant-virtual-card`) and `receivingAccountId`; the `upgradedFrom*` fields hold what you originally chose. A speed upgrade (`rtp`, `same-day-ach`) keeps the receiving account; the others move the payment to an account the receiver added (a bank account in place of a check, or a virtual card). The receiver pays for the upgrade — see the receiver-side entries in `fees`. An upgraded payment can no longer be updated (`409 PAYMENT_UPGRADED_BY_RECEIVER`).\n","required":["upgradedFromDeliveryPreference","upgradedFromReceivingAccountId"],"properties":{"upgradedFromDeliveryPreference":{"type":"string","description":"The normal-speed delivery preference of the receiving account you chose, named as in `deliveryPreference` (e.g. `standard-ach`, `standard-check`, or `same-day-ach` for a card-funded payment).\n","enum":["standard-ach","same-day-ach","rtp","standard-check","express-check","overnight-check","domestic-wire","instant-domestic-wire","virtual-card","instant-virtual-card","counterparty-choice","international-fx","fast-international-fx","international-gusd"],"isRequired":true,"uniqueKey":"data.items.[INDEX].receiverUpgrade.upgradedFromDeliveryPreference","typeLabel":"enum\u003cstring>"},"upgradedFromReceivingAccountId":{"type":"string","description":"The receiving account you chose (acct_\u003cid>). Equal to `receivingAccountId` when the upgrade kept it.\n","isRequired":true,"uniqueKey":"data.items.[INDEX].receiverUpgrade.upgradedFromReceivingAccountId","typeLabel":"string"}},"uniqueKey":"data.items.[INDEX].receiverUpgrade","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"hasMore":{"type":"boolean","description":"True when more resources exist after this page; page again using the last item's id as `startingAfter`.","isRequired":true,"uniqueKey":"hasMore","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"firstPage":{"title":"firstPage","summary":"First page (limit=2, more available)","value":{"hasMore":true,"data":[{"id":"pay_9f8c7b6a5d4e3f21","externalId":"invoice-2043","amount":125000,"currency":"USD","originatingAccountId":"acct_3f2504e0-4f89-41d3-9a0c-0305e82c3301","receivingAccountId":"acct_9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","deductionDate":"2026-07-10","deliveryPreference":"standard-ach","deliveryDate":"2026-07-14","status":"scheduled","metadata":{"invoiceId":"INV-2043","department":"operations"},"fees":[],"createdAt":"2026-07-08T15:04:05Z","updatedAt":"2026-07-08T15:04:05Z"},{"id":"pay_1a2b3c4d5e6f7a8b","externalId":"invoice-2041","amount":4200,"currency":"USD","originatingAccountId":"acct_3f2504e0-4f89-41d3-9a0c-0305e82c3301","receivingAccountId":"acct_9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","deductionDate":"2026-07-09","deliveryPreference":"same-day-ach","deliveryDate":"2026-07-11","status":"completed","metadata":{},"fees":[{"type":"same-day-ach","chargeTo":"originator","percent":{"rate":0.5,"max":3000},"amount":21,"status":"charged"}],"tracking":{"type":"ach","traceNumber":"021000021234567","sentAt":"2026-07-09T18:30:00Z","clearedAt":"2026-07-11T07:15:00Z"},"createdAt":"2026-07-07T09:22:00Z","updatedAt":"2026-07-07T09:22:00Z"}]}},"lastPage":{"title":"lastPage","summary":"Final page (hasMore=false)","value":{"hasMore":false,"data":[{"id":"pay_0000111122223333","externalId":"invoice-1900","amount":8000,"currency":"USD","originatingAccountId":"acct_3f2504e0-4f89-41d3-9a0c-0305e82c3301","receivingAccountId":"acct_9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","deductionDate":"2026-06-30","deliveryPreference":"standard-ach","deliveryDate":"2026-07-02","status":"completed","metadata":{},"fees":[],"tracking":{"type":"ach","traceNumber":"021000029876543","sentAt":"2026-06-30T18:30:00Z","clearedAt":"2026-07-02T07:05:00Z"},"createdAt":"2026-06-29T12:00:00Z","updatedAt":"2026-06-29T12:00:00Z"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"fbcf3420-247b-446d-a2e0-ce142c50065c":{"description":"Entity not found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message"],"properties":{"type":{"type":"string","description":"Coarse, machine-readable error category. Branch on this to handle a whole class of failures without enumerating every `code`.","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","conflict_error","rate_limit_error","service_unavailable_error","internal_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code.","enum":["VALIDATION_ERROR","INVALID_ACCOUNT_TYPE","ACCOUNT_NOT_VERIFIED","INVALID_DELIVERY_PREFERENCE","MCC_REQUIRED","MERCHANT_ADDRESS_REQUIRED","GOODS_RECEIVED_REQUIRED","IDEMPOTENCY_KEY_REQUIRED","FEE_CALCULATION_FAILED","UNSUPPORTED_CURRENCY","FX_QUOTE_INVALID","INVALID_SONAR_TOKEN","ATTACHMENT_REQUIRED","COMPLIANCE_UPLOAD_FAILED","ATTACHMENT_UPLOAD_FAILED","INTERNATIONAL_NOT_ENABLED","ENTITY_ONBOARDING_INCOMPLETE","UNAUTHORIZED","IP_NOT_ALLOWED","NOT_FOUND","DUPLICATE_ENTITY","DUPLICATE_ACCOUNT","DUPLICATE_PAYMENT","DUPLICATE_EXTERNAL_ID","ACCOUNT_IN_USE","BUSINESS_NOT_ELIGIBLE","PAYMENT_NOT_EDITABLE","PAYMENT_UPGRADED_BY_RECEIVER","PAYMENT_NOT_CANCELABLE","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_KEY_IN_PROGRESS","IDEMPOTENCY_STORE_UNAVAILABLE","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context (e.g. field-level validation failures).","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request_error","code":"VALIDATION_ERROR","message":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4296763d-fa3c-433d-9f3d-4a6555faa3e5":{"ApiKey":{"type":"apiKey","in":"header","name":"api-key","scopes":[],"schemeName":"ApiKey"}}},"servers":{"11023ec5-d3f9-4571-b97f-e305433ac479":{"description":"Production","url":"https://api.melio.com/v2"},"a9b4dcdc-ad19-4ca1-80f3-760819968e97":{"description":"Staging01","url":"https://api.staging01.melio.com/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"api-key","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"api-key"}],"title":"ApiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"melio","siteName":"Melio Payouts API","title":"List payments - Melio Payouts API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T07:50:53.962Z","originalFileLocation":"api-reference/payments/list-payments.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns the entity\u0026#x27;s payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Melio Payouts API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List payments - Melio Payouts API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the entity\u0026#x27;s payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Melio Payouts API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.melio.com/docs/api-reference/payments/list-payments\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://melio.mintlify.site/docs/_mintlify/api/og/v2?division=Payments\u0026amp;title=List+payments\u0026amp;description=Returns+the+entity%27s+payments%2C+newest+first.+Use+the+filters+below+to+narrow+the+list%3B+they+can+be+combined+with+each+other+and+with+pagination.%0A\u0026amp;theme=840e77e176f335a47137ea1a\u0026amp;signature=bffd29077204e0cc623a452f4d340cfe2dbbc426b62d8deb3abc8bfd4dbd5b6b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List payments - Melio Payouts API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the entity\u0026#x27;s payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://melio.mintlify.site/docs/_mintlify/api/og/v2?division=Payments\u0026amp;title=List+payments\u0026amp;description=Returns+the+entity%27s+payments%2C+newest+first.+Use+the+filters+below+to+narrow+the+list%3B+they+can+be+combined+with+each+other+and+with+pagination.%0A\u0026amp;theme=840e77e176f335a47137ea1a\u0026amp;signature=bffd29077204e0cc623a452f4d340cfe2dbbc426b62d8deb3abc8bfd4dbd5b6b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/melio/9sciKkVs_XIsdZmC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Melio Payouts API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7849ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.melio.com/docs/api-reference/payments/list-payments\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/payments/list-payments.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.melio.com/#organization\",\"name\":\"Melio Payouts API\",\"url\":\"https://developers.melio.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/melio/xvWXKzlr8EBNoRDW/images/melio-wordmark.svg?fit=max\u0026auto=format\u0026n=xvWXKzlr8EBNoRDW\u0026q=85\u0026s=64c5b00a44de83a5745e570ecf3d0fc2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.melio.com/docs#website\",\"name\":\"Melio Payouts API\",\"url\":\"https://developers.melio.com/docs\",\"publisher\":{\"@id\":\"https://developers.melio.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.melio.com/docs/api-reference/payments/list-payments#webpage\",\"url\":\"https://developers.melio.com/docs/api-reference/payments/list-payments\",\"name\":\"List payments\",\"description\":\"Returns the entity's payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\",\"dateModified\":\"2026-11-11T07:50:53.962Z\",\"isPartOf\":{\"@id\":\"https://developers.melio.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://developers.melio.com/docs/api-reference/payments/list-payments#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.melio.com/docs/api-reference/payments/list-payments#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Melio Payouts API\",\"item\":\"https://developers.melio.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List payments\",\"item\":\"https://developers.melio.com/docs/api-reference/payments/list-payments\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.melio.com/docs/api-reference/payments/list-payments#apireference\",\"headline\":\"List payments\",\"name\":\"List payments\",\"description\":\"Returns the entity's payments, newest first. Use the filters below to narrow the list; they can be combined with each other and with pagination.\",\"url\":\"https://developers.melio.com/docs/api-reference/payments/list-payments\",\"mainEntityOfPage\":{\"@id\":\"https://developers.melio.com/docs/api-reference/payments/list-payments#webpage\"},\"dateModified\":\"2026-11-11T07:50:53.962Z\",\"publisher\":{\"@id\":\"https://developers.melio.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.melio.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Melio Payouts API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Melio Payouts API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/payments/list-payments.md","siteName":"Melio Payouts API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/Introduction"}]},{"tab":"API Reference","groups":[{"group":"Entities","pages":[{"title":"List entities","deprecated":null,"version":null,"openapi":"/openapi.json get /entities","href":"/api-reference/entities/list-entities"},{"title":"Create an entity","deprecated":null,"version":null,"openapi":"/openapi.json post /entities","href":"/api-reference/entities/create-an-entity"},{"title":"Get an entity","deprecated":null,"version":null,"openapi":"/openapi.json get /entities/{entityId}","href":"/api-reference/entities/get-an-entity"},{"title":"Update an entity","deprecated":null,"version":null,"openapi":"/openapi.json patch /entities/{entityId}","href":"/api-reference/entities/update-an-entity"},{"title":"List beneficial owners","deprecated":null,"version":null,"openapi":"/openapi.json get /entities/{entityId}/beneficial-owners","href":"/api-reference/entities/list-beneficial-owners"},{"title":"Replace beneficial owners","deprecated":null,"version":null,"openapi":"/openapi.json put /entities/{entityId}/beneficial-owners","href":"/api-reference/entities/replace-beneficial-owners"},{"title":"Get limitations","deprecated":null,"version":null,"openapi":"/openapi.json get /limitations","href":"/api-reference/entities/get-limitations"}]},{"group":"Accounts","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/openapi.json get /accounts","href":"/api-reference/accounts/list-accounts"},{"title":"Create an account","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts","href":"/api-reference/accounts/create-an-account"},{"title":"Create a link to add a Plaid or card account","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts/link","href":"/api-reference/accounts/create-a-link-to-add-a-plaid-or-card-account"},{"title":"Get an account","deprecated":null,"version":null,"openapi":"/openapi.json get /accounts/{accountId}","href":"/api-reference/accounts/get-an-account"},{"title":"Delete an account","deprecated":null,"version":null,"openapi":"/openapi.json delete /accounts/{accountId}","href":"/api-reference/accounts/delete-an-account"},{"title":"Create a link to verify a Plaid account","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts/{accountId}/verify/link","href":"/api-reference/accounts/create-a-link-to-verify-a-plaid-account"}]},{"group":"Attachments","pages":[{"title":"Upload an attachment","description":"Stores a supporting document for the entity and returns an opaque id you can pass as `attachmentId` when creating a payment. Upload once, reference from as many payments as you need.\n\nSend `multipart/form-data` with the document in a part named `file`. PDF, JPEG and PNG are accepted, up to 8 MB. The bytes are not readable back through this API — only the metadata below is returned.\n\nThe main reason to use this: some international destinations will not accept a payment without a supporting document, and `POST /payments` then fails with `400 ATTACHMENT_REQUIRED`. See `attachmentId` on the payment request.\n","deprecated":null,"version":null,"openapi":"/openapi.json post /attachments","href":"/api-reference/attachments/upload-an-attachment"}]},{"group":"Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/openapi.json get /payments","href":"/api-reference/payments/list-payments"},{"title":"Create a payment","description":"Creates a payment from one of the entity's internal accounts to one of its external accounts. An `Idempotency-Key` header is required so the request is safe to retry.\n","deprecated":null,"version":null,"openapi":"/openapi.json post /payments","href":"/api-reference/payments/create-a-payment"},{"title":"Get a payment","deprecated":null,"version":null,"openapi":"/openapi.json get /payments/{paymentId}","href":"/api-reference/payments/get-a-payment"},{"title":"Update a payment","deprecated":null,"version":null,"openapi":"/openapi.json patch /payments/{paymentId}","href":"/api-reference/payments/update-a-payment"},{"title":"Cancel a payment","deprecated":null,"version":null,"openapi":"/openapi.json post /payments/{paymentId}/cancel","href":"/api-reference/payments/cancel-a-payment"},{"title":"Simulate a payment action","deprecated":null,"version":null,"openapi":"/openapi.json post /simulations/payments/{paymentId}/actions","href":"/api-reference/payments/simulate-a-payment-action"}]},{"group":"Tools","pages":[{"title":"Calculate fees","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/fee-calculator","href":"/api-reference/tools/calculate-fees"},{"title":"Quote a currency conversion","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/fx-quote","href":"/api-reference/tools/quote-a-currency-conversion"},{"title":"Check fast payment eligibility","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/fast-payment-eligibility","href":"/api-reference/tools/check-fast-payment-eligibility"},{"title":"Estimate delivery dates","deprecated":null,"version":null,"openapi":"/openapi.json post /tools/delivery-eta","href":"/api-reference/tools/estimate-delivery-dates"}]}]}]},"basePath":"","title":"List payments - Melio Payouts API","buildId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","deploymentId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CQGbdtm4.js","utils-D88A1f-Z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChqWdz1A.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-yBrxdh_6.js","snippetPresets-BgqDrFJC.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C2-BijcO.js","ApiExamples-Duxc2rZw.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C7jidOil.js","shallow-xkjpHm-U.js","getApiPlaygroundDisplay-fE3rVpvL.js","CodeSnippet-LgxljKed.js","CodeSnippets-D-pXWDHq.js","getPastedJson-CLRcu-uo.js","icon-Cxirpjgo.js","MethodPill-D49eqY5e.js","DuplicateIcon-CivCz5Rp.js","createIcon-D71qL3f5.js","DynamicMarkdown-BcGRTrw6.js","SectionHeading-DzaqmmSD.js","axios-vUo_bRtp.js","Markdown-CZqUYmMp.js","clsx-B6IZIRsp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-B0ZV6X5T.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-MqLyPtsW.js"]}