Skip to main content

Document Approval

You can send your documents to customers for approval.

Request Body

ParameterTypeRequired
Description
customerPhoneNumberStringYesThe phone number of the customer.
otpCodeStringYesThe code of will send to the customer
countryCodeEnumYesThe country code for the phone number.
base64DocumentStringYesThe content of the document's base64 format.
fileNameStringYesThe name of the document
fileTypeStringYesThe type of the document.
Info
  1. You can send minimum 1 and maximum 10 different documents to customer at once.

  2. 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"
}
]
}'