1. Recipient बनाएँ
एक individual या business कोPOST /v3/customers/{customerId}/recipients के साथ बनाएँ। ये headers भेजें:
relationship बताता है कि recipient आपके customer से कैसे संबंधित है। POST /v3/customers/{customerId}/recipients request schema से एक value चुनें। यदि आप other भेजते हैं, तो कोई अतिरिक्त free-text field न जोड़ें; schema unknown fields को अस्वीकार करता है।
Fiat destination बनाने से पहले address शामिल करें। लौटाए गए recipient data.id को RECIPIENT_ID के रूप में संग्रहीत करें और इसकी वर्तमान status को बनाए रखें।
2. Destination जोड़ें
Endpoint कोPOST /v3/customers/{customerId}/recipients/{recipientId}/destinations के साथ बनाएँ। इस इच्छित destination के लिए एक नई key का उपयोग करें:
- Bank destination
- Wallet destination
self_custodied का उपयोग केवल तब करें जब recipient wallet को नियंत्रित करता हो। जब wallet किसी अन्य custodian द्वारा रखा गया हो तो वर्तमान API Reference variant का पालन करें।
लौटाए गए destination data.id को DESTINATION_ID के रूप में संग्रहीत करें और इसकी वर्तमान status बनाए रखें।
3. Destination readiness की प्रतीक्षा करें
Quote बनाने से पहलेGET /v3/customers/{customerId}/recipients/{recipientId}/destinations/{destinationId} पढ़ें।
केवल तब जारी रखें जब वर्तमान destination status payout की अनुमति देती है और इसकी currency, method, और network इच्छित movement से मेल खाते हैं। Recipient और destination statuses स्वतंत्र हैं।
Payout quote में dst_ destination ID का उपयोग करें। rcp_ recipient ID owner record की पहचान करता है और यह quote destination नहीं है।
आगे, ready destination को Send funds पर ले जाएँ।