X-Idempotency-Key for each new write operation; reuse it only to retry the same method, path, query and body. A matching request still in progress, or reuse for a different request, returns 409 REQUEST.CONFLICT. A different request never receives the first response as a successful replay.| Code | When |
|---|---|
REQUEST.CONFLICT | The same X-Idempotency-Key has a matching request still in progress, or was already used in this caller scope for a different method, path, query or body. |
curl --location 'https://api.elaypay.app/api/v1/consumer/card-products/cards/status-operation-batches/create' \
--header 'X-Api-Key;' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Signature;' \
--header 'X-Signature-Algorithm;' \
--header 'X-Idempotency-Key;' \
--header 'X-Workspace-Id;' \
--header 'Content-Type: application/json' \
--data '{
"operation": "FREEZE",
"idempotentKey": "73f15010-21c6-4ee5-9faa-e5b8e210f60f",
"cardInfoBizIds": [
"string"
]
}'{
"version": "string",
"timestamp": 0,
"success": true,
"code": "string",
"message": "string",
"data": {
"batchBizId": "CSOB_ABCDEF1234567890",
"operation": "FREEZE",
"status": "PROCESSING",
"requestedCount": 10,
"created": true
}
}