Funding

Resolve a session's available funding methods.

Changed on

Resolves the fiat onramp methods available for a session's destination and the buyer's region. Openfort auto-selects the provider per method — the client renders the rows and commits one via setPaymentMethod with { type: "onramp", method }. Requires the session clientSecret.

get/v2/funding/sessions/{sessionId}/methods

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v2/funding/sessions/{sessionId}/methods
  • Auth: HTTP bearer

Path parameters

sessionIdstring required

The funding session ID (starts with fnd_).

Query parameters

clientSecretstring

The session client secret returned at creation. Deliberately a query parameter (GET semantics): the secret is short-lived and session-scoped; every other endpoint takes it in the POST body.

countrystring

Explicit buyer-country override (ISO-3166 alpha-2); defaults to the request IP's country.

anglesstring

Comma-separated integration angles the client can execute (e.g. "popup" from React Native); omit for no restriction.

Headers

cf-ipcountrystring

Response

Successful response.

countrystring nullable required

Resolved ISO-3166 alpha-2 country, or null for rest-of-world.

Changes