Skip to content

Quickstart

This guide walks you through creating your first crypto payment via Hosted Checkout — from API key to a confirmed test payment, in about 5 minutes.

  1. In the ParaSta DashboardDevelopers → API Keys, copy your Secret test key (starts with sk_test_).

  2. amount is in the smallest unit of the currency — USDT has 6 decimals, so 10000000 means 10 USDT.

    Terminal window
    curl https://api.parasta.io/v1/checkout/sessions \
    -H "Authorization: Bearer sk_test_..." \
    -H "Content-Type: application/json" \
    -d '{
    "line_items": [{ "name": "T-shirt", "amount": 10000000, "currency": "USDT" }],
    "success_url": "https://your-site.com/success",
    "cancel_url": "https://your-site.com/cancel"
    }'

    The response contains url. Redirect your customer to that URL to complete the payment.

  3. When payment confirms on-chain, ParaSta sends a checkout.session.completed webhook to your server. The webhook is the reliable signal for fulfillment — never rely on the redirect alone.

    See Webhooks → Overview for setup.

Please contact your representative. 담당자에게 문의해주세요.