Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/base-account/guides/accept-payments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { pay, getPaymentStatus } from '@base-org/account';
try {
const payment = await pay({
amount: '1.00', // USD amount (USDC used internally)
to: '0xRecipient', // your address
to: '0x...', // your address
testnet: true // set false for Mainnet
});

Expand Down Expand Up @@ -70,7 +70,7 @@ Need an email, phone, or shipping address at checkout? Pass a <code>payerInfo</
try {
const payment = await pay({
amount: '25.00',
to: '0xRecipient',
to: '0x...',
payerInfo: {
requests: [
{ type: 'email' },
Expand Down Expand Up @@ -289,7 +289,7 @@ import { pay } from '@base-org/account';
export function Checkout() {
const handlePayment = async () => {
try {
const payment = await pay({ amount: '5.00', to: '0xRecipient' });
const payment = await pay({ amount: '5.00', to: '0x...' });
console.log(`Payment sent! Transaction ID: ${payment.id}`);
} catch (error) {
console.error(`Payment failed: ${error.message}`);
Expand Down
4 changes: 2 additions & 2 deletions docs/base-account/quickstart/web-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function Home() {
try {
const { id } = await pay({
amount: '0.01', // USD – SDK quotes equivalent USDC
to: '0xRecipientAddress', // Replace with your recipient address
to: '0x...', // Replace with your recipient address
testnet: true // set to false or omit for Mainnet
});

Expand Down Expand Up @@ -207,7 +207,7 @@ export default function Home() {
<Note>
**Note:**

Make sure to replace `0xRecipientAddress` with your recipient address.
Make sure to replace `0x...` with your recipient address.
</Note>

<Tip>
Expand Down