List destinations

Changed on

List saved bank destinations for the selected legal entity. The supportedTransferTypes field tells clients which transfer requests can use each destination.

get/v2/destinations

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/destinations
  • Auth
    API key in header X-API-Key

Query parameters

cursorstring

The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.

limitinteger

Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.

sort'lastPaidAt' | 'createdAt'

Field to order the page by. Each value has its own default direction, used unless sortDirection is passed. See Sorting.

  • lastPaidAt (default) — the most recent payment to the destination, with destinations that have never been paid ordered by creation time after them; descending
  • createdAt — descending
sortDirection'asc' | 'desc'

Direction of the ordering selected by sort. When omitted, each sort value uses its own default; see Sorting.

recipientIdstring

Return only destinations for this recipient.

type'bank_account' | 'international_wire'

Return one destination type.

includeArchivedboolean

Include archived destinations. Defaults to false.

Response

A page of destinations.

Changes