| Code | When |
|---|---|
CARD_WALLET.ORDER_NOT_FOUND | order not found |
REQUEST.CONFLICT | order is not in PENDING_APPROVAL status, or the caller is not the order's requester |
curl --location 'https://api.elaypay.app/api/v1/consumer/card-products/wallets/transfers/cancel' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Signature;' \
--header 'X-Signature-Algorithm;' \
--header 'X-Idempotency-Key;' \
--header 'X-Workspace-Id;' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"bizId": "CWO_1234567890ABCDEF"
}'{
"version": "string",
"timestamp": 0,
"success": true,
"code": "string",
"message": "string",
"data": {
"bizId": "cbgwo_1234567890abcdef",
"cardBinGroupWalletBizId": "cbgw_1234567890abcdef",
"internalWalletBizId": "iw_1234567890abcdef",
"direction": {
"code": "ACTIVE",
"value": 35010102,
"label": "Active"
},
"currency": {
"code": "ACTIVE",
"value": 35010102,
"label": "Active",
"scale": 2,
"isFiat": true,
"isStablecoin": false
},
"amount": 10000,
"amountScale": 2,
"status": {
"code": "ACTIVE",
"value": 35010102,
"label": "Active"
},
"approvalStatus": {
"code": "ACTIVE",
"value": 35010102,
"label": "Active"
},
"requestedBy": "user_1234567890abcdef",
"approvedBy": "user_abcdef1234567890",
"approvedAt": 1767225600,
"rejectionReason": "Insufficient approval evidence",
"completedAt": 1767225660,
"failureReason": "Provider transfer failed",
"createdAt": 1767225500,
"updatedAt": 1767225600
}
}