मास्टर और निवेश खातों के बीच शुल्क प्रसंस्करण आरंभ करें

ट्रिगर शुल्क प्रसंस्करण प्रोग्रामेटिक रूप से।

एडमिन के लिए

Initiates fee calculation and deduction from investment accounts subscribed to a specific master account — typically tied to a withdrawal request raised in your CRM.

Endpoint

POST [host]/api/admin/fees/v2/fee/feeservice/processext

Request Body

NameTypeRequiredDescription
account_loginstringYesThe account login (number).
request_idstringYesThe withdrawal request id from your external CRM (links the CRM withdrawal to B2COPY fee processing).

About request_id

Your CRM generates a unique id for the withdrawal and passes it as request_id. Reuse the same id in polling requests to track fee-payment status for that withdrawal.

curl -X POST "[host]/api/admin/fees/v2/fee/feeservice/processext" \
  -H "Authorization: Bearer <your-access-token>" \
  -d '{
    "account_login": "123456",
    "request_id": "withdrawal_req_789"
  }'

Response & Statuses

{
  "account_login": "123456",
  "request_id": "withdrawal_req_789",
  "status": 1
}
StatusNameMeaning
1FEE_PROCESS_STATUS_PENDINGProcessing (temporary) — fee payments in progress; start polling.
2FEE_PROCESS_STATUS_SUCCESSDone (final) — all fees paid; no further action.
3FEE_PROCESS_STATUS_ERRORError (final) — check details and retry if needed.

No fee due

If no fee deduction is required, the response returns FEE_PROCESS_STATUS_SUCCESS immediately, without a PENDING status.

Polling

  1. Send the initial request

    Call the method with account_login and request_id; on PENDING, wait 3–5 seconds.

  2. Repeat with the same request_id

    Poll the method again using the same id.

  3. Stop on a final status

    Continue until you receive FEE_PROCESS_STATUS_SUCCESS or FEE_PROCESS_STATUS_ERROR.

अभी B2COPY क्लाइंट नहीं हैं?

B2COPY को अपनी ब्रोकरेज में लाएँ और ऑटोपायलट पर बढ़ें

अपने मौजूदा सर्वरों पर कॉपी ट्रेडिंग, PAMM और MAM लॉन्च करें और अपने सर्वश्रेष्ठ ट्रेडर्स को ग्रोथ इंजन बनाएँ — होस्टिंग, मॉनिटरिंग और सपोर्ट सहित। कहाँ से शुरू करें, स्पष्ट नहीं? हमसे बात करें, हम गाइड करेंगे।

2–4 सप्ताह

लॉन्च तक समय

$0

इंफ्रास्ट्रक्चर लागत

40%+

वॉल्यूम वृद्धि