Document Approval
You can send your documents to customers for approval.
Request Body
Parameter | Type | Required | Description |
---|---|---|---|
customerPhoneNumber | String | Yes | The phone number of the customer. |
otpCode | String | Yes | The code of will send to the customer |
countryCode | Enum | Yes | The country code for the phone number. |
base64Document | String | Yes | The content of the document's base64 format. |
fileName | String | Yes | The name of the document |
fileType | String | Yes | The type of the document. |
Info
You can send minimum 1 and maximum 10 different documents to customer at once.
Here are examples of acceptable phone number formats:
- 544 333 22 11
- 5443332211
- +905443332211
- 905443332211
- 05443332211
Country Code Enum
TR
US
DE
GB
AE
NL
FR
Request
curl --location --request POST '<BASE_URL>/document-approval'
--header 'Content-Type: application/json'
--header 'Authorization: <jwtToken>'
--data '{
"customerInfo": {
"customerPhoneNumber": "string",
"otpCode": "string",
"countryCode": "TR"
},
"documents": [
{
"base64Document": "string",
"fileName": "string",
"fileType": "string"
}
]
}'