curl --request PUT \
--url https://api.enterprise.sandbox.uphold.com/core/transactions/{transactionId}/requests-for-information/{requestForInformationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"proof": {
"type": "self-declaration",
"did": "did:pkh:xrpl:0:rExampleAddress123456789",
"address": "xrpl:0:rExampleAddress123456789",
"attestation": "I hereby declare that the blockchain address rExampleAddress123456789 is under my own control and ownership.",
"confirmed": true,
"status": "verified",
"txUpdate": {
"originatorProof": {
"type": "self-declaration",
"did": "did:pkh:xrpl:0:rExampleAddress123456789",
"address": "xrpl:0:rExampleAddress123456789",
"attestation": "I hereby declare that the blockchain address rExampleAddress123456789 is under my own control and ownership.",
"confirmed": true,
"status": "verified"
},
"transactionAsset": {
"caip19": "xrpl:0/slip44:144"
},
"transactionAmount": "4000000",
"originatorEqualsBeneficiary": true,
"beneficiaryVASPdid": "did:ethr:0xExampleVASPAddress000000000000000000000000",
"originatorVASPdid": "did:pkh:xrpl:0:rExampleAddress123456789",
"beneficiary": {},
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": {
"nameIdentifier": [
{
"primaryIdentifier": "Doe",
"secondaryIdentifier": "John",
"nameIdentifierType": "LEGL"
}
]
}
}
}
]
}
}
},
"errors": [],
"status": "pending",
"valid": true,
"value": {
"amountDecimal": 4,
"asset": "XRP-XRP",
"customer": {
"name": "John Doe",
"type": "natural"
},
"source": [
"rExampleAddress123456789"
],
"agent": {
"type": "WALLET",
"verified": true,
"did": "did:pkh:xrpl:0:rExampleAddress123456789"
},
"counterparty": {
"name": "John Doe",
"type": "self",
"did": "did:key:zExampleKeyDid123456789",
"verified": true
},
"assetPrice": {
"price": 1.23,
"currency": "USD"
}
},
"ivms101": {
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": {
"nameIdentifier": [
{
"primaryIdentifier": "Doe",
"secondaryIdentifier": "John",
"nameIdentifierType": "LEGL"
}
]
}
}
}
]
}
}
}
}
'{
"requestForInformation": {
"id": "3f6d0c1e-a1bf-4b25-9802-2a3ee492d3c8",
"type": "travel-rule",
"status": "ok",
"data": {
"originatorProof": {
"type": "self-declaration",
"did": "did:pkh:xrpl:0:rExampleAddress123456789",
"address": "xrpl:0:rExampleAddress123456789",
"attestation": "I hereby declare that the blockchain address rExampleAddress123456789 is under my own control and ownership.",
"confirmed": true,
"status": "verified"
},
"transactionAsset": {
"caip19": "xrpl:0/slip44:144"
},
"transactionAmount": "4000000",
"originatorEqualsBeneficiary": true,
"beneficiaryVASPdid": "did:ethr:0xExampleVASPAddress000000000000000000000000",
"originatorVASPdid": "did:pkh:xrpl:0:rExampleAddress123456789",
"beneficiary": {},
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": {
"nameIdentifier": [
{
"primaryIdentifier": "Doe",
"secondaryIdentifier": "John",
"nameIdentifierType": "LEGL"
}
]
}
}
}
]
}
},
"createdAt": "2024-07-25T10:00:00Z",
"updatedAt": "2024-07-30T10:00:00Z"
}
}Update a request for information associated with a transaction.
curl --request PUT \
--url https://api.enterprise.sandbox.uphold.com/core/transactions/{transactionId}/requests-for-information/{requestForInformationId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"proof": {
"type": "self-declaration",
"did": "did:pkh:xrpl:0:rExampleAddress123456789",
"address": "xrpl:0:rExampleAddress123456789",
"attestation": "I hereby declare that the blockchain address rExampleAddress123456789 is under my own control and ownership.",
"confirmed": true,
"status": "verified",
"txUpdate": {
"originatorProof": {
"type": "self-declaration",
"did": "did:pkh:xrpl:0:rExampleAddress123456789",
"address": "xrpl:0:rExampleAddress123456789",
"attestation": "I hereby declare that the blockchain address rExampleAddress123456789 is under my own control and ownership.",
"confirmed": true,
"status": "verified"
},
"transactionAsset": {
"caip19": "xrpl:0/slip44:144"
},
"transactionAmount": "4000000",
"originatorEqualsBeneficiary": true,
"beneficiaryVASPdid": "did:ethr:0xExampleVASPAddress000000000000000000000000",
"originatorVASPdid": "did:pkh:xrpl:0:rExampleAddress123456789",
"beneficiary": {},
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": {
"nameIdentifier": [
{
"primaryIdentifier": "Doe",
"secondaryIdentifier": "John",
"nameIdentifierType": "LEGL"
}
]
}
}
}
]
}
}
},
"errors": [],
"status": "pending",
"valid": true,
"value": {
"amountDecimal": 4,
"asset": "XRP-XRP",
"customer": {
"name": "John Doe",
"type": "natural"
},
"source": [
"rExampleAddress123456789"
],
"agent": {
"type": "WALLET",
"verified": true,
"did": "did:pkh:xrpl:0:rExampleAddress123456789"
},
"counterparty": {
"name": "John Doe",
"type": "self",
"did": "did:key:zExampleKeyDid123456789",
"verified": true
},
"assetPrice": {
"price": 1.23,
"currency": "USD"
}
},
"ivms101": {
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": {
"nameIdentifier": [
{
"primaryIdentifier": "Doe",
"secondaryIdentifier": "John",
"nameIdentifierType": "LEGL"
}
]
}
}
}
]
}
}
}
}
'{
"requestForInformation": {
"id": "3f6d0c1e-a1bf-4b25-9802-2a3ee492d3c8",
"type": "travel-rule",
"status": "ok",
"data": {
"originatorProof": {
"type": "self-declaration",
"did": "did:pkh:xrpl:0:rExampleAddress123456789",
"address": "xrpl:0:rExampleAddress123456789",
"attestation": "I hereby declare that the blockchain address rExampleAddress123456789 is under my own control and ownership.",
"confirmed": true,
"status": "verified"
},
"transactionAsset": {
"caip19": "xrpl:0/slip44:144"
},
"transactionAmount": "4000000",
"originatorEqualsBeneficiary": true,
"beneficiaryVASPdid": "did:ethr:0xExampleVASPAddress000000000000000000000000",
"originatorVASPdid": "did:pkh:xrpl:0:rExampleAddress123456789",
"beneficiary": {},
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": {
"nameIdentifier": [
{
"primaryIdentifier": "Doe",
"secondaryIdentifier": "John",
"nameIdentifierType": "LEGL"
}
]
}
}
}
]
}
},
"createdAt": "2024-07-25T10:00:00Z",
"updatedAt": "2024-07-30T10:00:00Z"
}
}OAuth 2.0 authentication.
The transaction id.
The request for information id.
The Travel Rule data needed to resolve the RFI.
Request for information updated.
Show child attributes
Was this page helpful?