curl --request POST \
--url https://api.txcloud.io/v1/transactions/score \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"currency": "<string>",
"type": "p2p_transfer",
"sender": {
"user_id": "<string>",
"account_id": "<string>",
"device_id": "<string>",
"ip_address": "<string>"
},
"recipient": {
"type": "<string>",
"value": "<string>",
"name": "<string>"
},
"transaction_id": "<string>",
"context": {},
"metadata": {}
}
'