SpareSpare Docs
GuidesAPI Reference

User Journeys

Optional create-time controls that change the hosted payer flow or the account data Spare can read and share.

User journeys are optional controls on POST /payment-requests (and related headers or list endpoints) that change which hosted pages the payer sees, or what account data Spare can read and share after consent. Use them when you already know the bank or account, need account details for reconciliation, or want to recognise returning payers.

Payment type fields live in instructions. See Payment Request Deep Dives for shared root fields and per-type rules.

Choose a Journey

JourneyWhat it changesGuide
Debtor AccountSupply debtorAccount so the hosted flow skips bank-account selection and opens on the summary screen.Debtor Account
Pre-selected ProviderSupply providerId from GET /providers so the hosted flow skips bank selection and opens on the summary screen.Pre-selected Provider
Consent PermissionsAdd consentPermissions so Spare can read account details and/or balances and share them with you when the product needs them.Consent Permissions
Existing UserSend x-customer-id with consent permissions so Spare can collect and tag account data, then list it for returning payers.Existing User

Combining Journeys

CombinationHosted / data effect
providerId onlySkip bank selection. Payer lands on the summary screen.
debtorAccount onlySkip bank-account selection. Payer lands on the summary screen. The IBAN must belong to a live UAE Open Finance bank.
providerId + debtorAccountSkip both selection steps where applicable. Payer lands on the summary screen.
savedDebtorAccountId with x-customer-idReuse a previously saved debtor account. Mutually exclusive with debtorAccount.
consentPermissions onlyDoes not skip hosted pages. Widens consent scope. Spare discloses the permissions to the payer.
Capture: x-customer-id + consent permissionsAfter successful bank authorisation, Spare tags collected account data to that customer id for later list and reuse.
debtorAccount + savedDebtorAccountIdInvalid. Spare rejects the create.

Shared root fields and payment-type instructions are documented in Payment Request Deep Dives.

Where Next

On this page