Skip to main content
GET
List payments

Authorizations

api-key
string
header
required

Headers

Melio-Entity-Id
string
required

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.

Response

A page of payments, newest first.

data
object[]
required
hasMore
boolean
required

True when more resources exist after this page; page again using the last item's id as startingAfter.