Update request for information
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:00.000Z",
"updatedAt": "2024-07-30T10:00:00.000Z"
}
}RFIs
Update request for information
Update a request for information associated with a transaction.
PUT
/
core
/
transactions
/
{transactionId}
/
requests-for-information
/
{requestForInformationId}
Update request for information
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:00.000Z",
"updatedAt": "2024-07-30T10:00:00.000Z"
}
}Authorizations
OAuth 2.0 authentication.
Path Parameters
The transaction id.
The request for information id.
Body
application/json
The Travel Rule data needed to resolve the RFI.
Response
Request for information updated.
Show child attributes
Show child attributes
Was this page helpful?
⌘I