TEST documentation. Requests go to http://neobank-preprod-gateway/partner-api/v2.

FX

List exchanges

GET/fx/exchanges

All your exchanges, newest first, whether made through the API or in the portal. A portal exchange has no merchantReference, and one waiting for approval in the portal reads pending.

Authentication
ApiKeyAuth
Execution
synchronous

Parameters

  • limitintegerquery

    Default: 20

    ≥ 1 · ≤ 100

  • cursorstringquery
    Opaque cursor from a previous page's nextCursor.

    max length 512

  • createdAfterstring (date-time)query
    Inclusive lower bound on createdAt.
  • createdBeforestring (date-time)query
    Exclusive upper bound on createdAt.
  • statusstringquery

    Allowed values: pendingprocessingcompletedfailedcancelled

  • merchantReferencestringquery
    Exact match on your merchant reference. Returns at most one item.

    max length 100

Responses

A page of exchanges.

Headers

  • X-Request-Idstring
    The request's trace id: the same value a problem body carries as traceId. Quote it when you contact support. A replayed response (Idempotent-Replayed: true) carries the replay's own; its body keeps the original request's traceId.
  • RateLimit-Limitinteger
  • RateLimit-Remaininginteger
  • RateLimit-Resetinteger
    Seconds until the window resets.

Schema application/json

  • itemsarray<FxExchange>
    • idstringrequired
      An exchange's id. Opaque — use it as you received it.

      Example: fx_019985c24a6e7c3b9f102d5e8a1b3c4d

      pattern ^fx_[0-9a-f]{32}$

    • merchantReferencestring
      Absent on an exchange made in the portal.
    • statusstringrequired

      Allowed values: pendingprocessingcompletedfailedcancelled

    • sellobjectrequired
      What is sold. A crypto exchange restates it when it settles to what the venue's fills cost — plus your spread when it is charged here rather than on buy — which can be less than quoted.
    • buyobject
      The quoted amount until a venue exchange settles; then what was credited — the fills less the venue's trading fee, and less your spread when it is charged here rather than on sell. Your spread is charged on one leg only.
    • ratestring
      The rate applied, as a string. A crypto exchange restates it when it settles: buy over sell, as settled.
    • feeobject
      Absent while it is not known — as on a portal exchange that has not executed yet, and on some older portal exchanges. A crypto exchange the venue fills only in part is charged its fee in proportion, and restates it when it settles.
    • totalDebitedobject
      sell + fee, what left the sell account. Present with fee.
    • sellAccountIdstringrequired
      Opaque account identifier. Treat as a string; never parse or construct it. One of this shape that names no account is answered as an account that is not yours: 404 not_found, or nothing on a list.

      Example: acc_AAAAAAAAAAc

      pattern ^acc_[A-Za-z0-9_-]{11}$

    • buyAccountIdstring
      Opaque account identifier. Treat as a string; never parse or construct it. One of this shape that names no account is answered as an account that is not yours: 404 not_found, or nothing on a list.

      Example: acc_AAAAAAAAAAc

      pattern ^acc_[A-Za-z0-9_-]{11}$

    • createdAtstring (date-time)required
      RFC 3339, UTC, with millisecond precision.

      Example: 2026-09-18T10:15:30.123Z

    • updatedAtstring (date-time)required
      RFC 3339, UTC, with millisecond precision.

      Example: 2026-09-18T10:15:30.123Z

    • completedAtstring (date-time)
      RFC 3339, UTC, with millisecond precision.

      Example: 2026-09-18T10:15:30.123Z

  • hasMorebooleanrequired
  • nextCursorstringnullable
    Pass as cursor to fetch the next page. null when hasMore is false.