1
Create an account and an application
Sign up at dashboard.useroutr.com, verify your email and
create your first application. An application is the product or service that receives the
funding.
2
Create a test API key
In the dashboard, open Developers → API keys and create a key. It starts with
ur_test_,
which points the SDK at the sandbox. The secret is shown once, so store it now..env
3
Install the SDK
4
Choose where funds settle
Settled value goes to a Stellar account you control. For this test, create a testnet account
in Stellar Lab and fund it with Friendbot, then set its address as
the default destination in Settings → Default destination. You can also pass a
destination on each funding intent instead.5
Create a funding intent
A funding intent asks for an exact amount of an exact asset. The idempotency key makes the
call safe to retry: send the same key again and you get the same intent back.The intent starts
create-intent.ts
CREATED and becomes AWAITING_PAYMENT within seconds, once it is
registered on the Useroutr protocol.6
Pay it
Open
hosted_funding_url and follow the checkout, or pay directly: the intent’s
funding_instructions name a deposit account created for this intent alone and the exact
amount. Send 10 testnet XLM to funding_instructions.deposit.address from any testnet wallet.
No memo is needed.7
See it credited
Useroutr detects the payment, verifies it, settles it and posts one credit to your ledger.
Poll the intent until it reaches The payment, the settlement and the credit are all visible in the dashboard too.
CREDITED, or better, receive a webhook.What you just proved
The whole path works: a request for value, a payment on chain, a verified settlement and exactly one credit. Everything else builds on this.Embed the checkout
Take the payment inside your app with the React component.
Handle webhooks
Fulfil orders the moment a funding intent is credited.