Skip to main content
प्रत्येक account एक customer का है। इसे दो dimensions का उपयोग करके चुनें: कौन इसे प्रबंधित करता है और क्या यह wallet है या bank account।

एक account चुनें

issued का मतलब है कि Swipelux resource बनाता और प्रबंधित करता है। external customer के स्वामित्व वाले endpoint को record करता है। एक third-party endpoint recipient और destination के अंतर्गत आता है, customer account list के अंतर्गत नहीं।

Account बनाएँ

POST /v3/customers/{customerId}/accounts का उपयोग करें। नीचे दिए गए request bodies में से एक के साथ ये headers भेजें:
केवल उन currencies, networks, methods, और account types का उपयोग करें जो वर्तमान customer और capability के लिए लौटाए गए हैं। किसी अन्य customer या environment से availability copy न करें।

Account के उपयोग योग्य होने की प्रतीक्षा करें

Create response से data.id, data.status, और data.openTaskIds संग्रहीत करें। Transfer को quote करने या bank details दिखाने से पहले नवीनतम account को GET /v3/customers/{customerId}/accounts/{accountId} के साथ पढ़ें। Account का उपयोग केवल तब करें जब इसकी वर्तमान status अगले operation की अनुमति देती हो। यदि task IDs open हैं, तो उन्हें Capabilities और tasks के माध्यम से पूरा करें। एक issued bank account provisioning के दौरान details: null लौटा सकता है। Bank details केवल तभी प्रस्तुत करें जब वर्तमान read पूर्ण set लौटाए। यदि details.referenceRequired true है, तो सटीक details.reference को bank coordinates के साथ दिखाएँ।

Account roles को स्पष्ट रखें

Payout के लिए, issued wallet in.accountId में source है। एक customer-owned bank account destinationId है। एक issued bank account के लिए, settlement.accountId वह issued wallet है जो matched deposits प्राप्त करता है। आगे, Receive funds, Send funds, या Issue a bank account में एक ready account का उपयोग करें।