POST
Deposit RFI additional materials
Use this endpoint to respond to a deposit RFI notification webhook. If the submitted materials are incorrect or incomplete, you may receive another deposit RFI notification webhook. The final deposit matching outcome will be reported through the deposit matching result webhook.
Request
apiKeyAPI key assigned for Embedded Finance API access.
Example:
replace_with_api_keyContent-TypeRequest content type.
Example:
application/jsonuserIdID of the user associated with the deposit information request.
rechargeIdID of the deposit identified in the deposit RFI notification.
requestedInfomation{ actionId, documentName, ... }Condition: Required when
Files submitted for the deposit information request.remark is empty.Constraints
- Consistency
- When
remarkis empty, provide at least one file for everyactionIdin the deposit RFI notification. Whenremarkis non-empty, material completeness is not checked and this field may be omitted.
remarkReason or note provided only when no requested materials can be supplied.
Constraints
- Range
512characters- Rule
- A non-empty value indicates that no materials are being supplied and bypasses the material completeness check. When this field is non-empty,
responseTypeis required.
responseTypeCondition: Required when
Requested handling when no materials can be supplied.remark is non-empty.Allowed values
CONTINUE- Request continued review without additional materials. The final outcome is reported through the deposit matching result webhook.
REJECT- Request rejection of the pending deposit review. The deposit matching result webhook reports
data.statusasF.
curl -X POST 'https://sandbox-baas.onerway.com/embedded-finance/api/v2/deposit/rfi/additional/material' \
-H 'apiKey: replace_with_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"userId": 12345678,
"rechargeId": 123456789,
"requestedInfomation": "[{\"actionId\":100001,\"documentName\":\"BUSINESS_ADDRESS_PROOF\",\"fileId\":1001001},{\"actionId\":100001,\"documentName\":\"BUSINESS_ADDRESS_PROOF\",\"fileId\":1001002},{\"actionId\":100002,\"documentName\":\"OWNERSHIP_STRUCTURE_PROOF\",\"fileId\":1001003}]"
}'Response
respCodeResponse code returned by Onerway.
20000 indicates success.Example:
20000respMsgHuman-readable response message.
Example:
SuccessdataResponse data; null in the success example.
{
"respCode": "20000",
"respMsg": "Success",
"data": null
}No error responses are documented for this endpoint.