curl -X POST "https://api.chipipay.com/v1/transactions/record-cross-chain-deposit" \
-H "Authorization: Bearer sk_prod_xxxx" \
-H "x-api-key: pk_xxxx" \
-H "Content-Type: application/json" \
-d '{
"transactionHash": "0x02ab...",
"walletAddress": "0x03329497...",
"token": "USDC",
"amount": "25.500000",
"chain": "STARKNET",
"sourceChain": "Base",
"sourceTxHash": "0x7f3a...",
"sourceDomain": "6",
"finality": "standard",
"feeBps": 0
}'
{
"id": "transaction-0x02ab...",
"transactionHash": "0x02ab...",
"subType": "cross_chain_deposit",
"token": "USDC",
"amount": "25.500000",
"status": "SUCCESS"
}
Cross-chain
Record Cross-chain Deposit
Record a completed cross-chain (CCTP) deposit so it shows in the wallet history with its source chain
POST
/
transactions
/
record-cross-chain-deposit
curl -X POST "https://api.chipipay.com/v1/transactions/record-cross-chain-deposit" \
-H "Authorization: Bearer sk_prod_xxxx" \
-H "x-api-key: pk_xxxx" \
-H "Content-Type: application/json" \
-d '{
"transactionHash": "0x02ab...",
"walletAddress": "0x03329497...",
"token": "USDC",
"amount": "25.500000",
"chain": "STARKNET",
"sourceChain": "Base",
"sourceTxHash": "0x7f3a...",
"sourceDomain": "6",
"finality": "standard",
"feeBps": 0
}'
{
"id": "transaction-0x02ab...",
"transactionHash": "0x02ab...",
"subType": "cross_chain_deposit",
"token": "USDC",
"amount": "25.500000",
"status": "SUCCESS"
}
curl -X POST "https://api.chipipay.com/v1/transactions/record-cross-chain-deposit" \
-H "Authorization: Bearer sk_prod_xxxx" \
-H "x-api-key: pk_xxxx" \
-H "Content-Type: application/json" \
-d '{
"transactionHash": "0x02ab...",
"walletAddress": "0x03329497...",
"token": "USDC",
"amount": "25.500000",
"chain": "STARKNET",
"sourceChain": "Base",
"sourceTxHash": "0x7f3a...",
"sourceDomain": "6",
"finality": "standard",
"feeBps": 0
}'
{
"id": "transaction-0x02ab...",
"transactionHash": "0x02ab...",
"subType": "cross_chain_deposit",
"token": "USDC",
"amount": "25.500000",
"status": "SUCCESS"
}
Authorizations
Body
application/json
Response
Deposit recorded
Was this page helpful?
⌘I
