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\ b74id2ej nup8micb1vnj with cross river apis 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 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\ knfojhlwf7hdrzjlp cwx 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 amount either in fiat currency (for example, usd) or blockchain base units for the token (for example, 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\ rxl0axeu8j3mxj um7up7 post /v1/accounts/{accountnumber}/account addresses generate a receiving wallet address for an account create external beneficiary docid\ um4ucte9fgro systcbuw post /v1/accounts/{accountnumber}/external addresses register a payout destination wallet send stablecoin payment docid 2med4qlug6vpnzqe6kwi1 post /v1/payments initiate an outbound transfer get account wallet docid\ gjgmo4ftivd0xkwqojafl get /v1/accounts/{accountnumber}/account addresses retrieve existing account wallet addresses get external beneficiary docid 4reucyoyfozqgevs0y9pv get /v1/accounts/{accountnumber}/external addresses retrieve registered beneficiary wallets send pii docid\ r5lcj6njy gpsk ttbydr post /v1/payments/{id}/pii adds originator/sender personally identifiable information to an incoming payment delete wallet docid\ wu2ljl a wkwrhfakkev6 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\ ouvbrw5u8txx2tnsbasie error codes onchain payments docid\ nwo54y7cqjenn2tox1yk