General usage
BANK ACCOUNT TYPES:
- CRYPTO currency: PLATFORM and REAP
- FIAT currency: JDB
CARDS:
- Only bank accounts of type REAP and JDB can have cards.
REQUIRED PARAMS for API:
- x-apy-key: provided API key
- x-ref-id: a unique identifier for the user
API Flow:
- Create a core user using x-apy-key and x-ref-id
- A core user will be created.
- A bank account of type PLATFORM with currency USDC (CRYPTO) will be created.
- Create a KYC for the user by filling in all required form fields and uploading 3 images
- After creation, you can list KYCs and retrieve the ID
- Use the "Change KYC status" endpoint to set the status to approved.
- Create a bank account of type REAP with currency USDC (CRYPTO).
- Create Cards using the endpoint "FIXED Create a new card request"
- at productId use 9
MONEY TRANSFER
- Send money from external (e.g., MetaMask) to PLATFORM:
- Use the user’s PLATFORM bank account ID and call BankAccounts → Get deposit info to retrieve the wallet address.
- Transfer USDC (test/fake) to that wallet.
- Transfer money from PLATFORM to REAP
- Use the BankAccounts → Transfer endpoint to send funds from the PLATFORM to the REAP account.
BANK ACCOUNT
- Use "Get bank account balance" to retrieve the available balance.
Updated 8 months ago