Appearance
!--methodPOST--!/setBrokerCode ā
Set Document IDs / Broker Codes before submitting application
Broker APIPersonal LoanAuto Loan
š Authentication ā
- Bearer Token - Your API token
š Content-Type ā
Request | application/json |
Response | application/json |
š¦ Request Body ā
hash RequiredCustomer's hash
string
brokerflow_document_ids RequiredIllion broker code.
Each id must be alphanumeric and no more than 9 characters
Array<string>
Each id must be alphanumeric and no more than 9 characters
ā¹ļø Examples ā
Request
json
{
"hash": "QDmSIB6nAbtg7aMvwfnyFZjx8rZ8Eg8EyByHI8iqY4wERm029xK6UQTutVOx",
"brokerflow_document_ids": [
"A1B2C3",
"D4E5F6"
]
}
Response
json
{
"message": "success"
}
json
{
"message": "Unable to process application that has been submitted, please check the application.",
"error_code": "app submitted"
}
json
{
"message": "Unauthenticated."
}
json
{
"message": "The brokerflow document ids field is required.",
"errors": {
"brokerflow_document_ids": [
"The brokerflow document ids field is required."
]
}
}
json
{
"message": "The brokerflow document ids must be an array.",
"errors": {
"brokerflow_document_ids": [
"The brokerflow document ids must be an array."
]
}
}
json
{
"message": "The brokerflow_document_ids.0 must be a string.",
"errors": {
"brokerflow_document_ids.0": [
"The brokerflow_document_ids.0 must be a string."
]
}
}
json
{
"message": "The brokerflow_document_ids.0 may only contain letters and numbers.",
"errors": {
"brokerflow_document_ids.0": [
"The brokerflow_document_ids.0 may only contain letters and numbers."
]
}
}
json
{
"message": "The brokerflow_document_ids.0 may not be greater than 9 characters.",
"errors": {
"brokerflow_document_ids.0": [
"The brokerflow_document_ids.0 may not be greater than 9 characters."
]
}
}