Submit on-chain evidence
curl --request POST \
--url http://localhost:3001/v1/evidence/onchain \
--header 'Content-Type: application/json' \
--header 'idempotency-key: <idempotency-key>' \
--data '
{
"chainFamily": "evm",
"txHash": "<string>",
"chainId": 123,
"status": "confirmed",
"amount": {
"amount": "<string>",
"currency": "<string>"
},
"payload": {},
"paymentIntentId": "<string>",
"provider": "<string>",
"integrationKey": "<string>",
"sourceRef": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"tokenAddress": "<string>",
"externalReference": "<string>",
"routeGroupId": "<string>",
"sequence": 123,
"occurredAt": "2023-11-07T05:31:56Z",
"references": [
{
"type": "<string>",
"value": "<string>"
}
],
"metadata": {}
}
'{
"accepted": true,
"duplicate": true,
"flowLegIds": [
"<string>"
],
"matchedCaseIds": [
"<string>"
],
"rawRecordId": "<string>",
"signatureValid": true,
"source": "<string>",
"sourceRef": "<string>"
}๐งพ Reconciliation Cases
Submit on-chain evidence
POST
/
v1
/
evidence
/
onchain
Submit on-chain evidence
curl --request POST \
--url http://localhost:3001/v1/evidence/onchain \
--header 'Content-Type: application/json' \
--header 'idempotency-key: <idempotency-key>' \
--data '
{
"chainFamily": "evm",
"txHash": "<string>",
"chainId": 123,
"status": "confirmed",
"amount": {
"amount": "<string>",
"currency": "<string>"
},
"payload": {},
"paymentIntentId": "<string>",
"provider": "<string>",
"integrationKey": "<string>",
"sourceRef": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"tokenAddress": "<string>",
"externalReference": "<string>",
"routeGroupId": "<string>",
"sequence": 123,
"occurredAt": "2023-11-07T05:31:56Z",
"references": [
{
"type": "<string>",
"value": "<string>"
}
],
"metadata": {}
}
'{
"accepted": true,
"duplicate": true,
"flowLegIds": [
"<string>"
],
"matchedCaseIds": [
"<string>"
],
"rawRecordId": "<string>",
"signatureValid": true,
"source": "<string>",
"sourceRef": "<string>"
}Headers
Minimum string length:
1Minimum string length:
1Minimum string length:
1Body
application/json
Available options:
evm Minimum string length:
1Required range:
x <= 9007199254740991Available options:
pending, confirmed, failed, reversed, missing Show child attributes
Show child attributes
Show child attributes
Show child attributes
Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Available options:
required, optional, ignored Required range:
x <= 9007199254740991Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Show child attributes
Show child attributes
Show child attributes
Show child attributes
โI
