Skip to main contentA transaction in the CPN API represents a transfer of funds onchain to fund the
payment. Once payment is in the CRYPTO_FUNDS_PENDING status, the OFI should
create the onchain transaction using CPN’s transaction endpoints. Through these
endpoints, the OFI can initiate and broadcast the transaction. The OFI uses its
own wallet integration to sign transactions before sending them to the API. CPN
provides transaction updates through webhooks. Transactions follow these steps:
- The OFI initiates a transaction request, and Circle returns the raw
transaction data
- The OFI validates the response and signs the transaction
- The OFI submits the signed transaction to the CPN API
- CPN verifies the transaction content and broadcasts it to the blockchain
- CPN notifies the OFI and the BFI of the transaction status