curl -X POST "https://api.chipipay.com/v1/transactions/record-cross-chain-withdrawal" \
-H "Authorization: Bearer sk_prod_xxxx" \
-H "x-api-key: pk_xxxx" \
-H "Content-Type: application/json" \
-d '{
"burnTxHash": "0x07d61890...",
"walletAddress": "0x03329497...",
"destChain": "Base",
"destDomain": 6,
"recipient": "0x879f50787Ab4A36aA3cDf971691BFC8058DA203c",
"token": "USDC",
"amount": "7.810000",
"feeBps": 12,
"finality": "fast"
}'
{
"burnTxHash": "0x07d61890...",
"destChain": "Base",
"destDomain": 6,
"recipient": "0x879f50787Ab4A36aA3cDf971691BFC8058DA203c",
"recipientOwner": null,
"amount": "7.81",
"status": "PENDING",
"destTxHash": null,
"sponsoredByChipi": true,
"feeBps": 12,
"finality": "fast",
"verifiedOnChain": true
}
Cross-chain
Record Cross-chain Withdrawal
Record a withdrawal burn (Starknet to an EVM chain or Solana); Chipi verifies it against the burn itself
POST
/
transactions
/
record-cross-chain-withdrawal
curl -X POST "https://api.chipipay.com/v1/transactions/record-cross-chain-withdrawal" \
-H "Authorization: Bearer sk_prod_xxxx" \
-H "x-api-key: pk_xxxx" \
-H "Content-Type: application/json" \
-d '{
"burnTxHash": "0x07d61890...",
"walletAddress": "0x03329497...",
"destChain": "Base",
"destDomain": 6,
"recipient": "0x879f50787Ab4A36aA3cDf971691BFC8058DA203c",
"token": "USDC",
"amount": "7.810000",
"feeBps": 12,
"finality": "fast"
}'
{
"burnTxHash": "0x07d61890...",
"destChain": "Base",
"destDomain": 6,
"recipient": "0x879f50787Ab4A36aA3cDf971691BFC8058DA203c",
"recipientOwner": null,
"amount": "7.81",
"status": "PENDING",
"destTxHash": null,
"sponsoredByChipi": true,
"feeBps": 12,
"finality": "fast",
"verifiedOnChain": true
}
curl -X POST "https://api.chipipay.com/v1/transactions/record-cross-chain-withdrawal" \
-H "Authorization: Bearer sk_prod_xxxx" \
-H "x-api-key: pk_xxxx" \
-H "Content-Type: application/json" \
-d '{
"burnTxHash": "0x07d61890...",
"walletAddress": "0x03329497...",
"destChain": "Base",
"destDomain": 6,
"recipient": "0x879f50787Ab4A36aA3cDf971691BFC8058DA203c",
"token": "USDC",
"amount": "7.810000",
"feeBps": 12,
"finality": "fast"
}'
{
"burnTxHash": "0x07d61890...",
"destChain": "Base",
"destDomain": 6,
"recipient": "0x879f50787Ab4A36aA3cDf971691BFC8058DA203c",
"recipientOwner": null,
"amount": "7.81",
"status": "PENDING",
"destTxHash": null,
"sponsoredByChipi": true,
"feeBps": 12,
"finality": "fast",
"verifiedOnChain": true
}
The values you send are what your client believes. Chipi reads the burn’s own
DepositForBurn event: the burn must be USDC from walletAddress, and its amount, destination domain and mint recipient replace yours (for Solana, the recipient must be recipientOwner’s USDC token account). feeBps is capped at Circle’s live fee. When the receipt is not indexed yet, your values are stored with verifiedOnChain: false and finalize verifies them before any USDC moves.Authorizations
Body
application/json
Response
Withdrawal recorded (PENDING)
Was this page helpful?
⌘I
