v1
latestOpenAPI 3.0.02026-08-04134348905.1 KBDeposit Attribution
Attribute a deposit
Permissions required: Deposit Attribution.
Attribute a deposit by providing information about the originator.
Only attributions in PENDING status can be attributed.
Once the attribution is successfully performed the attribution status moves from PENDING to UNDER_REVIEW.
For attributions performed via API the attributionType will always be CLIENT_API.
patch/deposit-attributions/{depositTransactionId}
Path parameters
depositTransactionIdstring required
The transactionId where the transactionType is DEPOSIT.
Headers
Api-Signaturestring required
A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.
Construction example:
toHex(
ed25519Sign(
signing_key,
'{}{}{}{}'.format(timestamp_epoch_seconds, toUpper(httpMethod), httpRequestPath, httpBody)
)
)
Api-Timestampinteger required
Current timestamp, represented as unix epoch seconds
Request body
Example request
{
"notes": "US",
"originatorCountry": "US",
"originatorName": "John Doe",
"sourceWalletType": "CUSTODIAL"
}Response
Deposit attributed successfully
Example response
{
"data": {
"depositTransactionId": "0e2b2f9d-8d10-4f1e-960b-28567255045f"
}
}