Stage Sandbox is live. Create and retrieve payments against
https://payment-gateway.learnagent.cloud with Morphosis HMAC v2. Use only
issued sandbox credentials. Production availability is not part of this
release.Accept a payment with one integration
Server-to-server sandbox deposits through one payment resource. MorphosisBlock Payment API v2 gives merchants a small, provider-neutral surface for accepting a deposit on Tron Shasta:- Create one payment for a merchant order.
- Show the returned TRX amount and deposit address to the customer.
- Track state with webhooks and
GET /v2/payments/{payment_id}. - Fulfil only after the payment is
paidand your own order checks pass.
What you get in the first slice
Every create request carries a signed
Idempotency-Key. Monetary values use
decimal strings for display and string-encoded minimum-unit values for exact
accounting (minor_units for USD, sun for TRX).
Contract conventions
Integration flow
1
Obtain sandbox credentials
Ask Morphosis for a Stage Sandbox merchant profile: request key id + HMAC
secret, webhook key id + HMAC secret, and a registered webhook URL.
2
Create one sandbox payment
Submit the merchant order reference and an exact USD amount to
POST /v2/payments. Persist the returned payment_id before showing
payment instructions to a customer.3
Present the quoted deposit
Display the returned TRX decimal amount, its exact
sun amount, and the
deposit address exactly as received. Do not round, reformat, or substitute
another address.4
Track the lifecycle
Consume
payment.updated events and use
GET /v2/payments/{payment_id} when your system needs a fresh view.5
Fulfil only after paid
Deliver the purchased product only after the payment state is
paid and
your own order checks pass.See it working before you code
Boundary
- Stage Sandbox only — Tron Shasta testnet funds.
- Production cutover, SLA, and commercial terms are out of scope for this release.
- Do not send mainnet funds to sandbox addresses.
- Do not put signing secrets in browsers, mobile apps, or public repositories.
Continue
- Read Sandbox environments for base URLs and operator links.
- Follow the Quickstart to sign a real
POST /v2/paymentscall. - Study Authentication before implementing HMAC v2.
- Walk the Reference cashier flow.
- Review the Payment lifecycle before mapping states to fulfilment.