Submit Deposit Originator Info
Submit the originator's compliance information when a deposit triggers a Travel Rule review. After submission, the vendor completes the review and returns the resulting status.
info
Call this endpoint when a deposit record hits the Travel Rule compliance policy and the current travel_rule_status is 1 (pending counterparty info submission).
HTTP Request
POST/v5/asset/travel-rule/deposit/submitRequest Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| depositId | true | integer | Deposit record ID obtained from the deposit query API |
| subAccountId | false | integer | Broker scenario: target sub-account UID. Pass 0 or omit to use the current account |
| questionnaire | true | string | Travel Rule questionnaire info as a JSON string. Max 16384 bytes. Structure varies by compliance zone. See Questionnaire |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| travelRuleStatus | integer | Travel Rule review status
|
Request Example
- HTTP
- Python
- Node.js
POST /v5/asset/travel-rule/deposit/submit HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1672197227732
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX
Content-Type: application/json
{
"deposit_id": 1234567890,
"sub_account_id": 0,
"questionnaire": "{\"walletType\":0,\"vaspCode\":\"BINANCEUS_VASP\",\"legalType\":\"individual\",\"firstName\":\"John\",\"lastName\":\"Smith\",\"transactionPurpose\":\"Personal investment in long-term holdings\"}"
}
from pybit.unified_trading import HTTP
session = HTTP(
testnet=True,
api_key="xxxxxxxxxxxxxxxxxx",
api_secret="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
)
print(session.submit_deposit_originator_info(
deposit_id=1234567890,
sub_account_id=0,
questionnaire='{"walletType":0,"vaspCode":"BINANCEUS_VASP","legalType":"individual","firstName":"John","lastName":"Smith","transactionPurpose":"Personal investment in long-term holdings"}',
))
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'xxxxxxxxxxxxxxxxxx',
secret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
});
client
.submitDepositOriginatorInfo({
deposit_id: 1234567890,
sub_account_id: 0,
questionnaire: '{"walletType":0,"vaspCode":"BINANCEUS_VASP","legalType":"individual","firstName":"John","lastName":"Smith","transactionPurpose":"Personal investment in long-term holdings"}',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {
"travel_rule_status": 2
},
"retExtInfo": {},
"time": 1672197228408
}