Skip to main content
A 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:
  1. The OFI initiates a transaction request, and Circle returns the raw transaction data
  2. The OFI validates the response and signs the transaction
  3. The OFI submits the signed transaction to the CPN API
  4. CPN verifies the transaction content and broadcasts it to the blockchain
  5. CPN notifies the OFI and the BFI of the transaction status