Show Merchant
GET/v1/merchants/:merchantId
Get a specific merchant
Request
Path Parameters
Responses
- 200
- 401
- 403
- 404
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
- ActivityLicenseInfo
- BankCertificateInfo
- CommercialRegistrationInfo
- CompanyAddressInfo
- OwnerAddressInfo
- SignatoryAddressInfo
- FreelanceCertificateInfo
- InvestmentLicenseInfo
- OwnerIdInfo
- SignatoryIdInfo
- PowerOfAttorneyInfo
- VatCertificateInfo
- OtherInfo
]
Array [
- ActivityLicenseInfo
- BankCertificateInfo
- CommercialRegistrationInfo
- CompanyAddressInfo
- OwnerAddressInfo
- SignatoryAddressInfo
- FreelanceCertificateInfo
- InvestmentLicenseInfo
- OwnerIdInfo
- SignatoryIdInfo
- PowerOfAttorneyInfo
- VatCertificateInfo
- OtherInfo
]
Merchant ID. Used only with Platform API.
Entity ID (Merchant Account). This ID is used with all other APIs.
Possible values: [freelancer, establishment, company, foreign_company, government, charity]
Merchant type determine the goverment category for the onboarded merchant and also affects the required KYC documents.
Possible values: [pending, missing_docs, under_review, semi_active, active, hold, rejected, disabled]
Merchant current status.
The status missing_docs indicates that there are required changes that must be done for the merchant which can be found in reasons.
After fixing the issues, the merchant must be submitted again for review.
Merchant name
Merchant name that will appear on the cardholder statement.
Indicate if all required documents has been uploaded.
signature
object
Possible values: [unsigned, initiated, signed]
api_keys
object
Entity's API keys.
test
object
Account publishable API key.
Account secret API key.
This key will only be returned once during merchant created. You must this key securely within your infrastructure.
There no way to view this key again, it must be regenerated using the Regenerate Key endpoint.
live
object
Account publishable API key.
Account secret API key.
This key will only be returned once during merchant created. You must this key securely within your infrastructure.
There no way to view this key again, it must be regenerated using the Regenerate Key endpoint.
fees
object[]
Fee type name
Variable charge rate
Fixed charge fee
Possible values: [mada, visa, master]
Enabled schemes for this merchants.
Possible values: [creditcard, applepay, samsungpay, googlepay, stcpay]
Enabled payment methods for this merchant.
required_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).
Official Proof of National Address for the merchant business.
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.
Official Proof of National Address for the merchant business.
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.
Official Proof of National Address for the merchant business.
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.
National/Expat ID of the business owner.
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
National/Expat ID of the authorized signatory.
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.
Indicate if the document type requires a file to be attached.
The minimum number of required documents of the same type. E.g. when specifying 5 owners, then 5 owner IDs must be added using the Upload Document endpoint.
Comment left by the onboarding team related to the merchant status.
List of reasons on why the merchant was rejected or changes were requested (missing_docs).
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).
Official Proof of National Address for the merchant business.
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.
Official Proof of National Address for the merchant business.
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.
Official Proof of National Address for the merchant business.
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.
National/Expat ID of the business owner.
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
National/Expat ID of the authorized signatory.
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.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "freelancer",
"status": "pending",
"name": "Chocolate Factory",
"website": "https://example.com",
"email": "[email protected]",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"statement_descriptor": "CHOCO",
"owners_count": 0,
"signatory": "string",
"signatory_count": 0,
"documents_complete": true,
"signature": {
"status": "initiated",
"url": "https://example.moyasar.com/nafath-signing-page"
},
"api_keys": {
"test": {
"publishable_key": "string",
"secret_key": "string"
},
"live": {
"publishable_key": "string",
"secret_key": "string"
}
},
"fees": [
{
"name": "cc_charge_rate",
"rate": 2.75,
"fixed": 0.5
}
],
"enabled_schemes": [
"mada",
"visa",
"master"
],
"payment_methods": [
"creditcard",
"applepay",
"samsungpay",
"googlepay"
],
"required_documents": [
{
"type": "activity_license",
"requires_upload": true,
"required_count": 1
}
],
"comment": "This merchant line of work requires an activity license from FDA.",
"reasons": [
"string"
],
"documents": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "activity_license",
"file_uploaded": true
}
]
}
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
}