RESTful APIs, asynchronous webhooks, sandbox testing and complete integration documentation covering payment creation, order retrieval, refunds, ledger synchronization, reconciliation validation and production launch review.
Sandbox does not move real funds
# Create an enterprise payment request (Payment Intent)
curl https://api.goosunpay.com/v1/payments \
-u "sk_test_xxx:" \
-d merchant_order_no=ORDER-001 \
-d amount=4900 \
-d currency=USD \
-d payment_methods[]=card \
-d return_url=https://your-site.com/return \
-d notify_url=https://your-site.com/webhook
# Example response
{
"id": "pay_01HXXXXX",
"status": "pending",
"payment_url": "https://checkout.goosunpay.com/s/xxx",
"amount": 4900,
"currency": "USD"
}Engineering teams can use standard APIs to create payments, retrieve transaction status, receive webhooks, process refunds, synchronize ledger data and validate reconciliation. Unified fields, signing controls, sandbox scenarios and launch checklists help teams move safely into production.
/v1/payments/v1/payments/{id}/v1/payments/{id}/status/v1/refunds/v1/wallet/balance/v1/reconciliation/statements/v1/eventsPayment success, payment failure, refund updates, subscription changes and reconciliation events help your business system update order, ledger and follow-up actions in time.
payment.succeededPayment successpayment.failedPayment failedrefund.updatedRefund status updatedsubscription.updatedSubscription status updated{
"id": "evt_01HXXXXX",
"type": "payment.succeeded",
"created_at": 1713456789,
"data": { "status": "succeeded" },
// Headers include X-GoosunPay-Signature for signature verification
}An isolated testing environment helps engineering teams complete integration validation before production and reduce launch risk.
API and webhook services are running. Contact technical support for real-time status and historical events.