Add stablecoin payments to your site

From a payment link with no code to your own payment screen with the API. Pick how you charge and how the payment looks on your site.

Put the payment where it fits your site.

Send customers to our checkout, open it from a button, show it inside your page, or build your own with the API. Try each option below: every demo runs on this page, with sample data that can’t be paid.

  • Pay button

    One line of HTML

    Our script draws a button that opens the checkout in a window over your page, and tells your page when the payment is confirmed.

    Sample data
    Ceramic mug25.00 USDC

    Total25.00 USDC

    Opens a sample checkout in a new window. It can’t be paid.

    Read the embed guide

  • Embedded checkout

    One line of HTML

    The checkout sits inside your page: amount, QR code and wallet button, with its status updating live and events your page can listen to.

    Sample data

    Events on your page

    1. cosmospay:statusPENDING

    Press “Simulate the payment” to see them arrive.

    Read the embed guide

  • Hosted checkout

    No code on your site

    Send your customer to a checkout page we host. Pick one of four designs per link; no other site can frame the page.

    Sample data
    Checkout design: Classic
    Checkout design

    One clean column: amount, live status, QR code and the payment details.

    Open the sample checkout (opens in a new tab)

    Create a payment link

  • API and SDK

    Your own interface

    Create payment intents from your server, draw your own payment screen and hear back through signed webhooks.

    Sample data

    Choose an amount and send the request: the console shows what the API answers and the webhook your server receives.

      Nothing leaves this page: the shapes are the API’s, the values are samples.

      Read the API reference

    1. E-commerce plugins

      Coming soon

      WooCommerce and Shopify plugins, to take payments in your store without writing code.

      Tell us which store you use

    Whatever you choose, confirm the payment on your server through the webhook or the API.

    A few lines of code.

    Create the payment on your server, share the checkout link, and let the webhook tell you when it is paid.

    • A REST API documented with OpenAPI
    • A TypeScript SDK: @cosmosapp/pay_sdk
    • Webhooks signed with HMAC-SHA256
    • Test keys (dv_) and live keys (prod_)
    curl https://api.cosmospay.lat/cosmos-api/v1/payment-intents/pay \  -H "Authorization: Bearer $COSMOS_PAY_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "chain": "stellar",    "destination": "G…YOUR_ACCOUNT",    "amount": "25",    "assetCode": "USDC",    "assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",    "msg": "Order #1001",    "checkoutTheme": "ticket"  }'

    # The response’s id is the link: https://payments.cosmospay.lat/<id>

    Three ways to start charging.

    Start with a link today and move to the API when you need it. Every path uses the same checkout, dashboard and webhooks.

    • Payment links

      No code

      Create a link in the dashboard and share it by chat, email or QR code.

      • A fixed amount, or one the payer chooses
      • A message the payer sees in their wallet
      • Live status in the dashboard
      Create a payment link
    • Hosted checkout

      Low code

      Send customers to a checkout we host, with the QR code, wallet buttons and live status.

      • Four ready-made designs
      • In English, Spanish, Portuguese, French, German, Hindi and Chinese
      • Pages no other site can frame
      See the integration options
    • Payments API

      Full control

      Create payment intents from your server and hear back through signed webhooks.

      • REST, documented with OpenAPI
      • A TypeScript SDK
      • Webhooks signed with HMAC-SHA256
      Read the docs

    Start accepting stablecoins.

    Create a free account, mint a test key and send your first payment link today.

    Write to us

    Questions about plans, integration or protected payments? Tell us and we will reply by email.

    We use these details only to reply to you.