Nexus takes USDC payments on Algorand. Customers pay from any Algorand wallet (Pera, Defly), you are paid directly, and there is no card processor or approval queue. This is the whole a Discord bot integration.
Create the session on your server so the price is fixed and the buyer cannot change it. Amounts are integer US cents.
// slash command handler (discord.js)
const s = await (await fetch(process.env.NEXUS_URL + '/v1/sessions', {
method: 'POST',
headers: { 'content-type': 'application/json', 'x-nexus-api-key': process.env.NEXUS_API_KEY },
body: JSON.stringify({ creatorId: process.env.NEXUS_CREATOR_ID, amount: 500, customerRef: interaction.user.id }),
})).json();
await interaction.reply({ content: `Pay here: ${process.env.NEXUS_URL}/pay/${s.sessionId}?t=${s.confirmToken}`, ephemeral: true });
Never trust the browser. Nexus matches the payment on-chain and only marks the session completed when the USDC has actually arrived.
// poll GET /v1/sessions/:id (x-nexus-api-key) or use the signed webhook; on "completed", grant the role: await member.roles.add(PAID_ROLE_ID);
npm run dev locally; use NEXUS_NETWORK=testnet to try it free.NEXUS_CREATOR_ID, NEXUS_URL, NEXUS_API_KEY.Using an AI coding agent? Point it at /llms.txt or the OpenAPI spec, or install the Nexus MCP server.