Onchain payments
onchain payment apis onchain payments enable partners to send and receive supported stablecoins on supported blockchains through cross river’s regulated banking infrastructure cross river facilitates onchain payments using account bound receiving addresses, external beneficiary management, required compliance checks, and event webhooks for payment status 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 a valid webhook registration docid\ bn5xtgkjogbe ctwomcbs to receive onchain payment events required sender pii submitted through post /v1/payments/{id}/pii , unless sender pii is reused from a previous transfer for inbound payments, cross river detects the onchain transfer and issues a crypto payment onchainpaymentdetected webhook once the transaction is identified and matched to the account and asset configuration after required pii is submitted and the payment is completed, cross river issues a crypto payment received webhook 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 send pii docid\ a9mdj5f6zixzyx4iskucv post /v1/payments/{id}/pii adds originator/sender personally identifiable information to an incoming payment delete account wallet docid\ f7rpn0go a 8fwjdsbda delete /v1/accounts/{accountnumber}/account addresses/{accountaddressid} deletes or disables a blockchain receiving address associated with an account related topics webhook events onchain payments docid\ l2nt0zp yk zwesb7d pt error codes onchain payments docid\ yqqzjx9mio hhxlylv9ag