HomeGuidesAPI Reference
Log In
API Reference

Ongoing payment

Ongoing payments can be used in two different ways: You can either issue a payment from a previously synchronized account by specifying the corresponding account_id in the request, the second option is to identify the debtor account by its IBAN. In the latter case you can still take advantage of securely storing the provider credentials for subsequent payments, but don't have to go through the full synchronization flow.

Body Params
string

A client-provided identifier that helps track a specific user's journey through the widget flow. When you initially create the widget session, you can set this value to any string that helps identify the user's context (e.g., a session ID, user ID, or transaction reference). When the user completes their interaction and is redirected back to your redirect_uri, this same state value is returned as a query parameter. This mechanism allows you to securely match the returning user with their original session and maintain context about who they are and what they were doing, particularly important in scenarios with multiple concurrent widget sessions.

url
required

The URL where users will be redirected after completing their interaction with the Widget.

The redirect includes the following query parameters:

  • state: Your original state value passed during initialization
  • success: Boolean indicating whether the flow completed successfully
  • cancel: Boolean indicating if the user canceled the flow (only present when canceled)
  • code: Authorization code valid for 1 hour, used to obtain an access token (only present on successful completion)
  • flow_id: Unique identifier for accessing flow-specific resources
string
enum

The display language used in the Widget UI.

Allowed:
payment
object
required

SEPA transfer

string

ID of a previously synchronized account which should be used as the debtor account for the payment. This field is mutually exclusive with payment.debtor.iban and it is an error to specify both at the same time.

boolean
Defaults to false

Controls whether credentials are automatically saved on the nrich platform. When set to true, credentials are securely stored without requesting user permission. When false (default), users are presented with the option to save their credentials within the Widget UI. This setting helps streamline future authentication processes if credentials are saved.

string

The user's email address that serves as their unique identifier in the system. This should ideally be the same email address used for registering with your application, as it will receive a verification email. Each email must be unique across all Widget users. Note: This field is not used when authenticating via user_auth.

Responses

Language
Credentials
Basic
base64
:
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json