Important
This endpoint is only for submerchants with an Operation Country: Mexico 🇲🇽 (MX) to fulfill the specific MX Documentation task flow.
This endpoint allows PSPs to upload a document for a submerchant for a specific onboarding task flow. The processing is asynchronous and conditioned on the operating country.
true: The document passed validation and has been submitted for processing.false: The document or request failed to meet the required format or operational context (e.g., wrong country, invalid file size).curl --location 'https://api-uat.kushkipagos.com/onboarding/v1/submerchants/files' \
--header 'X-Api-Key;' \
--header 'Content-Type: application/json' \
--data '{
"submerchantId": "1882e596-4213-4cab-88c9-9621dd4e2ba4",
"webhookUrl": "https://webhook.site/74a8a000-9400-4f57-b49c-269c3761c7fc",
"document": {
"name": "PROOF_OF_ADDRESS.pdf",
"type": "PROOF_OF_ADDRESS",
"file": ""
}
}'{
"result": true
}