Onchain payments
onchain payment apis onchain payments enable partners to send and receive usdc on supported blockchains with instant settlement and programmable confirmations cross river facilitates onchain payments today over the ethereum and solana blockchains, with account bound wallet addresses, external beneficiary management, and event webhooks for real time updates get started docid\ z mvwov p00 xx082nabk with cross river apis get calls add query parameters to filter the response the api returns to general get calls use pagination docid 6ekvquywevh9x4zxmuklj to control presentation of your results requirements for stablecoin transfers to use cross river’s onchain payments api, your account must be configured for both sending and receiving usdc outbound (send) to originate a transfer, you must have the account number funding the transfer the beneficiary address (externaladdressid or inline externaladdress block) an amount in either usd cents (amountnative) or blockchain base units (amount) provide one or the other, not both the currency (for example, usdc) and blockchain (for example, ethereum or solana) proper account and product configuration with outbound crypto permissions inbound (receive) to receive a transfer, you must have a registered account wallet address created through post /v1/accounts/{accountnumber}/account addresses the currency and blockchain matching the sender’s transfer active inbound payment permissions and a valid webhook registration to receive crypto payment received events monetary amounts amountnative whole numbers in usd cents (no decimal point) amount blockchain base units for the token (e g , smallest usdc unit) api calls this table provides an overview of the onchain apis described on this site action api call description create account wallet docid\ hoegjxysvlnf17bebvxym post /v1/accounts/{accountnumber}/account addresses generate a receiving wallet address for an account create external beneficiary docid\ etivqzenyjqd tres4pwi post /v1/accounts/{accountnumber}/external addresses register a payout destination wallet send stablecoin payment docid 97ecbpklpcwxvcxkeo la post /v1/payments initiate an outbound transfer get account wallet docid 28f lh3ataq88tjcqntw get /v1/accounts/{accountnumber}/account addresses retrieve existing account wallet addresses get external beneficiary docid\ xzmm6d5k5 abp62vzs7ne get /v1/accounts/{accountnumber}/external addresses retrieve registered beneficiary wallets related topics webhook events crypto docid\ nknzdp7lqcfmrctu4cg7w error codes onchain payments docid\ yqqzjx9mio hhxlylv9ag