Withdraw Stablecoins

DEVELOPER.WITHDRAW.FEE_COLLECTION.CRYPTO_TO_CRYPTO

Possible status of a stablecoin transaction

  • CREATED
  • ACCEPTED
  • SUBMITTED
  • CONFIRMED
  • FAILED
  • PENDING

Example webhook event

The data object can be expected to have the same structure as the get endpoint

{
  "eventId": "89c88a4e-803d-4eed-94aa-a66bd9441ebc",
  "eventType": "DEVELOPER.WITHDRAW.FEE_COLLECTION.CRYPTO_TO_CRYPTO",
  "eventAction": "UPDATE",
  "timestamp": "2024-06-29T19:32:24.88754+00:00",
  "data": {
    "transferType": "CRYPTO_TO_CRYPTO",
    "transferDetails": {
        "id": "ca7ee175-66ca-4b43-a70a-9ac21450820b",
        "requestId": "9bdf2251-0b96-41ce-bb33-2e3a29fb6035",
        "senderUserId": "75d7c01f-5f93-4490-8b93-a62fd8020358",
        "recipientUserId": null,
        "recipientAddress": "0xFb674069Bd8CfB2a63ACCe3b58E601FB9f914665",
        "chain": "POLYGON_MAINNET",
        "currency": "usdc",
        "transactionHash": "0x91ebabf2867d7b28532c8ac9bc9e37f442c121486583d659aef9531fa97eacc0",
        "createdAt": "2024-08-12T18:15:01.39654+00:00",
        "updatedAt": "2024-08-12T18:16:20.833+00:00",
        "status": "CONFIRMED",
        "contractAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
        "failedReason": null,
        "sender": {
            "business_name": null,
            "legal_last_name": "YANG",
            "compliance_email": "[email protected]",
            "legal_first_name": "William"
        },
        "fee": {
            "feeId": "15698c9b-6761-42ef-8c0c-96f5f983ba7d",
            "feeType": "FIX",
            "feeAmount": 0.01,
            "feePercent": 0,
            "status": "CONFIRMED",
            "transactionHash": "0x91ebabf2867d7b28532c8ac9bc9e37f442c121486583d659aef9531fa97eacc0",
            "failedReason": null
        }
    }
	}
}