Skip to main content
A funding session lets you accept payments from your users through a hosted checkout, USSD prompt, or email flow (Open Banking, Mobile Money, Stablecoin, or Interac). Your server creates a funding session and receives an asynchronous webhook when funds settle.

Endpoints


The Funding Session object

string
Unique funding session identifier.
string
Funding session status. One of awaiting_user, processing, pending_settlement, settled, failed, expired, or cancelled.
string
The idempotency key provided at creation.
string
ISO 4217 currency code, or USC/UST for stablecoin funding sessions.
number
Amount in the smallest currency unit.
string
The ID of the account credited when the session settles.
string
The ID of the entity that owns the account. Returned by Update a funding session once the session has been validated. Retrieve a funding session and List funding sessions don’t return it.
string
Display text shown to the user on the checkout page. Defaults to Funding session when omitted at creation.
string
The URL supplied at creation. Not present for momo funding sessions.
object
The metadata supplied at creation, for example msisdn and channel for momo, or name and email for interac. Omitted when none was supplied. In Create a funding session responses only, these fields are returned flat on data instead of nested under meta.
string
Hosted checkout URL to redirect the user to. Present for open-banking and crypto funding sessions in the create response. Retrieve returns it only for open-banking.
string
Identifier for the hosted checkout session. Present in the create response for crypto funding sessions only; Retrieve doesn’t return it.
string
Provider-assigned reference for the payment. Present for interac funding sessions in create and update responses. Retrieve doesn’t return it.
string
The ID of the underlying payment record. Returned by Update a funding session once the transfer has been validated. Retrieve and List don’t return it.
boolean
true when the customer must answer a security question to complete the transfer. Present for interac funding sessions in create responses. An update response includes it, as true, only when authentication is required. Retrieve doesn’t return it.
string
The security question the customer must answer. Present only when requires_authentication is true, in create and update responses. Retrieve doesn’t return it.
number | null
Unix timestamp in milliseconds when the checkout expires. null for momo, crypto and interac, which don’t expose an expiry. The Create response returns it; Retrieve and List don’t.
object
Present once the session has settled. Returned by Retrieve a funding session.
object
Present when status is failed or expired. Not set for cancelled, and not set for an Interac session that failed because the payer declined. See Funding session failure codes.
number
Unix timestamp in milliseconds when the session was created.
number
Unix timestamp in milliseconds when the session was last updated.
Example funding session object

Funding session statuses

Funding session failure codes

Present in failure.code when status is failed or expired. Codes come from the payment provider, so treat the list as non-exhaustive, and expect either letter case: an expired session returns SESSION_EXPIRED, and an unexplained failure returns unknown. The code is unknown when the provider gives no reason.
Subscribe to funding_sessions.updated to track a session in real time. See Event types for the full payload schema.

Create a funding session

POST /funding-sessions Creates a funding session. funding_type defaults to open-banking; specify it explicitly for momo, crypto, or interac. Returns 201 Created. The funding rail must be available for the account’s currency. Open banking works for GBP and EUR accounts and crypto for stablecoin accounts. A request for a rail the account’s currency doesn’t support, such as momo on a GBP account or open banking on an NGN account, returns 503 error_system_dependency_unavailable.

Request parameters

number
required
Amount in the smallest currency unit. 10000 = £100.00 GBP. The minimum for open-banking is 100; a smaller amount returns 422 error_validation_value_out_of_range.
string
Optional. The session uses the currency of the account, and a different fiat code is ignored: sending USD for a GBP account creates a GBP session. For a stablecoin account, USC, UST or RLD selects the stablecoin.
string
required
The ID of the account to credit when the session settles. An account that doesn’t exist, or belongs to another entity, returns 404 error_resource_not_found. For crypto, an account with no stablecoin wallet returns 404 for the wallet.
string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns 404 error_resource_not_found. See Managing child entities for details.
string
required
A reference for this session. It must be unique across all of the entity’s payments, including transfers and other funding sessions. A duplicate returns 409 error_duplicate_resource, with no session in the response.
string
The funding rail. One of open-banking, momo, crypto, or interac. Defaults to open-banking.
string
HTTPS URL to redirect the user to after they complete or abandon the checkout. Required for open-banking: omitting it returns 422 error_validation_required_field_missing, and a URL that isn’t HTTPS returns 422 error_validation_invalid_format. Optional for crypto, and not used for momo.
string
ISO 3166-1 alpha-2 country code. Optional. Not used for momo, where the country is inferred from meta.channel.
string
Display text shown to the user on the checkout page. Required for interac, where omitting it returns 422 error_validation_required_field_missing. Optional for the other rails.For interac, the narration is the message in the payer’s Interac email. It must be 5 to 200 characters of letters, digits, spaces and # . , ' @ $. A narration with other characters, such as - _ / & : ! ? + = * % ( ) or an accented letter, or one that is too short or too long, returns 422 error_validation_invalid_format.
object
Rail-specific metadata. Required for momo and interac; omitting it for interac returns 422 error_validation_required_field_missing.
For momo, meta.channel must be one of: The msisdn must be a number for the channel’s country. A number that doesn’t match returns 400 error_validation_invalid_format, and an unsupported channel returns 422 error_validation_value_not_supported. The amount must be between 100000 and 500000000 in the smallest unit for a TZS session (TZS 1,000 to 5,000,000), and between 2000 and 25000000 for a KES session (KES 20 to 250,000). An amount outside the range returns 422 error_validation_invalid_format for amount.
The payment provider enforces its own transaction limits for some rails. See Funding Sessions: Transaction limits for the current values.

Request

Response

A session can also fail within seconds of initiation, before the user ever starts the payment flow, for example a mobile money number that isn’t registered. The create response returns status: "failed" without a failure object. Retrieve the session shortly afterwards to read the failure code, such as invalid_number. See Funding session failure codes.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Update a funding session

PATCH /funding-sessions/{id} Validates a completed Interac transfer and progresses the funding session status. Call it after the customer sends the Interac transfer. The endpoint applies only to interac funding sessions, and only while the session’s payment is still pending. Returns 201 Created. You can repeat the call while the session is pending. Once the session has settled, failed, or otherwise left the pending state, the call returns 400 error_funding_request_not_pending. Other rails are rejected by the provider with their own error, for example 422 error_validation_error for an open-banking session.

Path parameters

string
required
Funding session ID. A malformed ID, or one that doesn’t exist or belongs to another entity, returns 404 error_resource_not_found.

Request parameters

The body is optional.
object
Additional data for the validation.
string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns 404 error_resource_not_found. See Managing child entities for details.

Request

Response

The response is a reduced view of the Funding Session object. It returns the fields below and doesn’t include currency.
string
The funding session ID.
string
The ID of the entity that owns the session.
string
The ID of the underlying payment record.
string
The session’s new status, one of the funding session statuses. It reflects the state of the transfer: for example processing while the transfer is in flight, or failed if the transfer was rejected.
string
The unique_reference you supplied at creation.
number
The amount in the smallest currency unit.
string
Provider-assigned reference for the payment.
boolean
Present, as true, only when the customer must answer a security question to complete the transfer. It is never false here.
string
The question to present to the customer. Returned together with requires_authentication.
201 Created

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Retrieve a funding session

GET /funding-sessions/{id} Returns a single funding session. Returns 200 OK. Authenticate with a secret API key; a publishable key or no key returns 401 error_auth_credentials_invalid.
string
required
Funding session ID, a 26-character ULID. The format isn’t validated: an ID that is malformed, doesn’t exist, or belongs to another entity returns 404 error_resource_not_found.
string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns 404 error_resource_not_found, and a parent entity can retrieve a child entity’s session by ID without entity_id. See Managing child entities for details.

Request

Response

Returns the Funding Session object. The fields present depend on the rail and the status. settlement appears once the session settles, failure appears on failed and expired sessions, and meta appears when metadata was supplied at creation. This endpoint doesn’t return entity_id, payment_id, expires_at, reference_number, requires_authentication or security_question; those come from Create and Update responses.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

List funding sessions

GET /funding-sessions Returns a paginated list of funding sessions for the authenticated entity, newest first. Returns 200 OK. Authenticate with a secret API key; a publishable key or no key returns 401 error_auth_credentials_invalid. The entity must be approved.

Query parameters

string
Filter by account. The value is matched exactly, so an unknown ID returns an empty list, not a 404.
string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns 404 error_resource_not_found. See Managing child entities for details.
string
Filter by status. One of awaiting_user, processing, pending_settlement, settled, failed, expired, or cancelled. Send several as a comma-separated list, for example status=settled,processing. The value isn’t validated, so an unrecognised status returns an empty list.
string
Filter by currency, as an ISO 4217 code or USC/UST. The match is exact and ignores case: gbp and GBP return the same sessions.
string
Only sessions created on or after this time, as an ISO 8601 date or date-time, for example 2026-10-26 or 2026-10-26T00:00:00Z. A date without a time means midnight UTC. A Unix timestamp in milliseconds or a value that isn’t a date returns 500 error_system_internal_error.
string
Only sessions created on or before this time, in the same format as created_after.
integer
Number of records to return. Between 1 and 100. Defaults to 25. A value outside that range, or a non-numeric value, returns 422 error_validation_value_out_of_range.
string
Pagination cursor for the next page: the data.meta.pagination.next_cursor value from the previous response. Omit for the first page. A value that isn’t a 26-character ULID returns 422 error_validation_invalid_format.
string
Pagination cursor for the previous page: the data.meta.pagination.previous_cursor value from the previous response. Passing previous_cursor as cursor pages forward instead, so use this parameter to go back. The records come back oldest first, and filters_applied.sort.order is asc. See Pagination.
This endpoint returns funding sessions across all rails. Filter by account_id to see sessions created under a specific account.

Request

Response

Returns the sessions under data.data and the pagination state under data.meta. Each item is a summary of the Funding Session object with only the fields below. It doesn’t include failure, expires_at, meta, narration or the other detail fields; use Retrieve a funding session for those. filters_applied repeats the filters you sent: account_id, status (as an array), payment_meta.currency for the currency filter, and created with from and to.
string
Unique funding session identifier.
string
Funding session status. See Funding session statuses.
number
Amount in the smallest currency unit.
string
ISO 4217 currency code, or USC/UST for stablecoin funding sessions.
string
The ID of the account credited when the session settles.
string
The idempotency key provided at creation.
string
Hosted checkout URL. Present for sessions that use a hosted checkout, such as open-banking.
string
The URL supplied at creation. Absent when none was supplied.
number
Unix timestamp in milliseconds when the session was created.
number
Unix timestamp in milliseconds when the session was last updated.
200 OK

Filter the list

Returns the GBP sessions that were settled or expired after 1 October 2026, two per page. A filter that matches nothing returns an empty list.

Fetch the next page

Pass next_cursor from the previous response as cursor and keep the same filters. The response is the next page, and has_next is false on the last one.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses: