Skip to main content

Prerequisites

  • A US-based business — Pesso is available in the US only.
  • A server that can make HTTPS calls and receive a webhook.
1

Get an API key

Copy it now — Pesso shows it once. It looks like psk_ followed by 43 characters. Keep it on your server.
2

Add a webhook endpoint

Use a public https URL. Copy the signing secret, whsec_… — also shown once.
3

Create a payment request

cURL
201 Created
Save id with your order and redirect your customer to url.concept takes a string or a JSON object. With an object, the first key’s value is the headline your customer sees — the key itself isn’t shown. How concept renders, or try it in the playground.
4

Pay it, and get the webhook

Open url signed in to a second Pesso account that holds USDC, and pay. Your endpoint receives:
payment.succeeded
There is no test mode. This is a real payment in USDC on Base. Use "0.01" and pay from another Pesso account of your own.
data.concept arrives as a JSON string — JSON.parse it. Match data.requestId to your order, then verify the signature before you trust it.