
Platinum Sponsor
CEOACC.COM | Wholesale Social Media Accounts from the Source
Buy Facebook accounts, Wholesale Instagram accounts, Buy Twitter accounts, Buy TikTok accounts, Buy Telegram accounts, Buy Apple IDs, Buy Google Gmail accounts


Updated: 2026-06-14
You only need two outcomes:
Make sure your payment callback endpoint is publicly reachable.
The system needs only one domain, for example shop.example.com.
The storefront, admin panel, and API are all served by the same service on that domain: the storefront at /, the admin panel at web.admin_path, and the API at /api. Use this domain for callback URLs — no additional domain is required.
Common URL examples:
https://shop.example.com/api/v1/payments/callbackhttps://shop.example.com/payGo to:
Admin → Payment Management → Payment Channels → CreateFor each channel, do these 3 things:
Usually required:
gateway_url)merchant_id)notify_url)return_url)Recommended:
notify_url: https://shop.example.com/api/v1/payments/callbackreturn_url: https://shop.example.com/payUsually required:
client_idclient_secretbase_url (sandbox or production)return_urlcancel_urlRecommended:
return_url and cancel_url to https://shop.example.com/paywebhook_id for better webhook verificationUsually required:
secret_keywebhook_secretsuccess_urlcancel_urlapi_base_urlRecommended:
success_url and cancel_url to https://shop.example.com/payWhen creating the Checkout Session, the order email (member email or guest checkout email) is passed automatically, so the Stripe payment page is prefilled.
Usually required:
app_idprivate_key)alipay_public_key)gateway_url)notify_url)Recommended:
notify_url: https://shop.example.com/api/v1/payments/callbackreturn_url: https://shop.example.com/payUsually required:
appidmchidmerchant_serial_no)merchant_private_key)api_v3_keynotify_url)Recommended:
notify_url: https://shop.example.com/api/v1/payments/callbackh5_redirect_url: https://shop.example.com/payUsually required:
gateway_url)notify_secret)notify_url)Common optional fields:
currency, default USDT)redirect_url)base_currency, default CNY)Recommended:
notify_url: https://shop.example.com/api/v1/payments/callbackredirect_url: https://shop.example.com/payUsually required:
gateway_url)auth_token)notify_url)return_url)Common optional fields:
trade_type)fiat, usually CNY or USD)Recommended:
notify_url: https://shop.example.com/api/v1/payments/callbackreturn_url: https://shop.example.com/payNote: epusdt and BEpusdt are two independent projects. Their config fields and signing keys are not interchangeable — do not mix them.
Usually required:
gateway_url, e.g. https://epusdt.example.com)pid)secret_key)token, e.g. usdt)network, e.g. tron)notify_url)return_url)Usually optional:
currency, default cny)Tips:
notify_url: https://shop.example.com/api/v1/payments/callbackreturn_url: https://shop.example.com/paytoken / network combinations from the gateway: GET <gateway_url>/payments/gmpay/v1/supported-assetsUsually required:
gateway_url, default https://api.okaypay.me/shop)merchant_id)merchant_token)callback_url)return_url)Common optional fields:
coin, supports USDT or TRX, default USDT)exchange_rate, default 1)display_name)Recommended:
callback_url: https://shop.example.com/api/v1/payments/callbackreturn_url: https://shop.example.com/payDujiaoPay is the official ecosystem payment method. When creating a channel in admin, prefer the
DujiaoPayprovider type.
Usually required:
api_base_url, default https://www.dujiaopay.com)api_key_id)api_secret)webhook_secret)channel_type, mapped to DujiaoPay token_id, e.g. tron-usdt, base-usdc)fiat_currency, commonly CNY / USD / HKD)Usually optional:
success_url)cancel_url)Recommended:
success_url and cancel_url to https://shop.example.com/payhttps://shop.example.com/api/v1/payments/webhook/dujiaopay?channel_id=YOUR_CHANNEL_IDhttps://shop.example.com/api/v1/payments/webhook/dujiaopay; the system will try enabled DujiaoPay channels one by one and match them by webhook_secretqr interaction mode, the storefront displays the wallet QR code, wallet address, on-chain amount due, chain, and payment token; in redirect mode, the customer is redirected to the DujiaoPay checkoutEach payment channel can have its own fee settings for calculating the actual amount received:
| Field | Description |
|---|---|
Fee Rate (fee_rate) | Percentage fee, e.g., 2.00 means 2% |
Fixed Fee (fixed_fee) | Fixed amount deducted per transaction |
Fees are used only for admin statistics and profit calculation. They do not increase the amount the customer pays.
When creating a payment channel, you must select an interaction mode that determines the customer's payment experience:
| Mode | Identifier | Description |
|---|---|---|
| QR Code | qr | Generates a payment QR code for the customer to scan (suitable for WeChat Pay / Alipay, etc.) |
| Redirect | redirect | Redirects to the payment platform page to complete payment (suitable for PayPal / Stripe, etc.) |
The same payment type can have multiple channels using different interaction modes. For example, Alipay can be configured with both QR code and redirect modes simultaneously.
Applies to:
Use:
POST https://shop.example.com/api/v1/payments/callbackUse:
POST https://shop.example.com/api/v1/payments/webhook/paypal?channel_id=YOUR_CHANNEL_IDNote:
channel_id is required in current implementation.Use:
POST https://shop.example.com/api/v1/payments/webhook/stripe?channel_id=YOUR_CHANNEL_IDNote:
channel_id is strongly recommended if you have multiple Stripe channels.Use:
POST https://shop.example.com/api/v1/payments/webhook/dujiaopay?channel_id=YOUR_CHANNEL_IDNote:
channel_id is strongly recommended if you have multiple DujiaoPay channels.channel_id is omitted, the system tries enabled DujiaoPay channels one by one and matches them by webhook_secret.Since this project is open source, the default callback paths (e.g., /api/v1/payments/callback) are publicly known, which poses a risk of malicious callback simulation or brute-force attacks. You can customize callback route paths in the admin panel to hide the defaults and improve security.
Go to:
Admin → Settings → Callback RoutesYou can customize these 5 callback paths:
| Callback Type | Default Path | Description |
|---|---|---|
| Payment Callback | /api/v1/payments/callback | Shared by Alipay/WeChat/EPay/TokenPay/BEpusdt/epusdt/OKPay |
| DujiaoPay Webhook | /api/v1/payments/webhook/dujiaopay | DujiaoPay only |
| PayPal Webhook | /api/v1/payments/webhook/paypal | PayPal only |
| Stripe Webhook | /api/v1/payments/webhook/stripe | Stripe only |
| Upstream Callback | /api/v1/upstream/callback | Upstream supplier callback |
Leave empty to keep using the default path.
/api/, e.g., /api/my-secret-path/pay-notify/api/v1/admin/..., /api/v1/public/...)Important
After customizing callback routes, you must update the notification URL (notify_url / callback_url / Webhook URL) in each payment channel configuration to match the new path.
For example, if you set the payment callback route to /api/my-secret/pay-notify:
https://shop.example.com/api/v1/payments/callbackhttps://shop.example.com/api/my-secret/pay-notifyDujiaoPay uses a separate webhook route. If you set the DujiaoPay Webhook route to /api/my-secret/dujiaopay-webhook, update the DujiaoPay console Webhook URL to:
https://shop.example.com/api/my-secret/dujiaopay-webhook?channel_id=YOUR_CHANNEL_IDOtherwise, payment provider callbacks will not reach your server.
Test in this order:
https://shop.example.com/payCheck first:
notify_url / callback_url / Webhook URL has been updated accordinglyCheck first:
return_url / success_url / cancel_url / redirect_url are all set to /payFix:
channel_id in PayPal, Stripe, and DujiaoPay webhook URLs