Docs
BasicsAPI Reference
BasicsAPI Reference
  1. Integration Guide
  • Integration Guide
    • Payments
    • Webhooks
  • Payments
    • Create payment
      POST
    • List payments
      GET
    • Get payment by ID
      GET
  • Webhooks
    • Payment Created
    • Payment Completed
    • Payment Expired
  1. Integration Guide

Payments

Accept stablecoin payments from customers via a hosted checkout page. You create a payment — Woldy handles the rest.

Two Ways to Create a Payment#

DashboardREST API
Best forNon-technical merchants, one-off paymentsDevelopers, automated checkout flows
Setup time< 1 min~30 min
Requires codeNoYes
Webhooks✅✅

Quick Start#

Step 1 — Create a payment#

Send a POST request to create a payment. Woldy returns a hosted checkout URL to send to your customer.
See API Reference: Create payment

Step 2 — Send the customer to payment_url#

Redirect your customer to the payment_url from the response. On that page the customer will:
1.
Connect their wallet via WalletConnect
2.
Review the payment amount
3.
Sign and submit the transaction
Woldy handles everything from here. No additional code needed on your side.

Step 3 — Listen for the result#

Set up a webhook endpoint to receive real-time status updates. When the payment is completed or expires, Woldy sends a POST request to your webhook URL.
Configure your webhook URL in Dashboard → Settings → Webhooks.

Step 4 — (Optional) Poll for status#

If you prefer polling over webhooks, you can fetch the payment state at any time:
See API Reference: Get payment by ID

Payment Statuses#

StatusMeaning
PENDINGPayment created, waiting for the customer to pay
COMPLETEDTransaction confirmed on-chain
EXPIREDCustomer did not pay before expires_at

API Reference#

EndpointMethodDescription
/v1/paymentsPOSTCreate a new payment
/v1/paymentsGETList payments
/v1/payments/{id}GETGet a single payment by ID

Error Reference#

StatusMeaning
400 Bad RequestInvalid request body — check required fields
401 UnauthorizedMissing or invalid API key
429 Too Many RequestsRate limit exceeded — back off and retry
500 Internal Server ErrorSomething went wrong on our end — contact support
Modified at 2026-04-14 06:22:53
Next
Webhooks
Built with