Your request
Integration
two files
import { Useroutr } from "@useroutr/sdk";
const useroutr = new Useroutr({ apiKey: process.env.USEROUTR_API_KEY });
export async function createRequest(orderId: string) {
const intent = await useroutr.fundingIntents.create(
{
amount: "20",
asset: "asset_xlm_stellar",
destination: {
network: "stellar",
asset: "asset_xlm_stellar",
address: "GDUFUU2ZCOMQLLDAVGI2MELWJC2Y3MPMBIBYG6NEUHKS4S2BFDASGVVY",
},
reference: orderId,
},
{ idempotencyKey: orderId },
);
// The token is the only thing the browser needs, and the only thing it gets.
const url = intent.hosted_funding_url ?? "";
return url.slice(url.lastIndexOf("/") + 1);
}Progress
Progress appears once a request exists.
Ways to pay it
6 rails on this deployment| Asset | Payer sends | Fee | Time | Status |
|---|---|---|---|---|
| XLMStellar | — | — | — | Not priced yet |
| USDCStellar | — | — | — | Not priced yet |
| URTStellar | — | — | — | Not priced yet |
| USDCBase | — | — | — | Not priced yet |
| WETHBase | — | — | — | Not priced yet |
| URTBase | — | — | — | Not priced yet |