List Documents
GET/v1/merchants/:merchant_id/documents
Retrieve all documents for a merchant
Request
Path Parameters
Possible values: [activity_license, bank_iban_certificate, commercial_registration, company_address, freelance_certificate, investment_license, official_letter, owner_address, owner_id, power_of_attorney, signatory_address, signatory_id, vat_certificate, memorandum_of_association, other]
Responses
- 200
- 401
- 403
- 404
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- ActivityLicenseInfo
- BankCertificateInfo
- CommercialRegistrationInfo
- CompanyAddressInfo
- OwnerAddressInfo
- SignatoryAddressInfo
- FreelanceCertificateInfo
- InvestmentLicenseInfo
- OwnerIdInfo
- SignatoryIdInfo
- PowerOfAttorneyInfo
- VatCertificateInfo
- OtherInfo
]
documents
object[]
Possible values: [activity_license, bank_iban_certificate, commercial_registration, company_address, freelance_certificate, investment_license, official_letter, owner_address, owner_id, power_of_attorney, signatory_address, signatory_id, vat_certificate, memorandum_of_association, other]
info
object
oneOf
Activity License. Needed when the activity in CR requires one.
Possible values: <= 255 characters
Activity license number.
Official Bank IBAN Certificate
Possible values: <= 255 characters
IBAN holder person/entity name as registered on bank records.
Possible values: >= 24 characters and <= 24 characters, Value must match regular expression ^SA\d{22}$
Valid IBAN number for the card holder
Commercial Registration for the merchant business.
Possible values: >= 10 characters and <= 10 characters, Value must match regular expression ^[17]\d{9}$
Must be a valid CR number (starts with 1) or a valid unified number (starts with 7).
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
ISO-3166-1 alpha-2 country code.
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
ISO-3166-1 alpha-2 country code.
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
ISO-3166-1 alpha-2 country code.
Freelance Certificate
Possible values: <= 255 characters
Freelance certificate number.
Investment License issued by the Ministry of Investment
Possible values: <= 255 characters
Investment license number.
Possible values: >= 10 characters and <= 10 characters, Value must match regular expression ^[12]\d{9}$
A valid Saudi or Expat government ID
Possible values: >= 10 characters and <= 10 characters
A valid Saudi mobile number
Possible values: >= 10 characters and <= 10 characters, Value must match regular expression ^[12]\d{9}$
A valid Saudi or Expat government ID
Possible values: >= 10 characters and <= 10 characters
A valid Saudi mobile number
Power of Attorney issued by the Ministry of Justice that gives a person the ability to sign on agreements.
Possible values: <= 255 characters
Power of Attorney reference number.
VAT certificate if the business is required to pay taxes by law. The name must match the one in Commercial Registration.
Possible values: <= 255 characters
Investment license number.
Any type of document that is not categorized.
meta
object
{
"documents": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "activity_license",
"file_uploaded": true
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1
}
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [authentication_error]
Possible values: [Invalid authorization credentials]
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [api_error]
Possible values: [User not authorized]
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}
One of the record referenced in the request was not found
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [record_not_found]
{
"type": "record_not_found",
"message": "The <object type> record you were looking for was not found.",
"errors": null
}