Only submerchants that pass the validations will proceed to the actual onboarding process. Those that fail must be corrected and resubmitted.
operationType is CP, additional fields are required to register the submerchant in Kushki POS.CP, the usesKushkiPos field is required.usesKushkiPos is true, these fields are also required: operationMode emails, paymentOptions, paymentTypes, terminalCount, storeName and storeAddress.usesKushkiPos is false, or if operationType is not CP, those fields should not be sent.📌 Important
Please note thatsubmerchantNamehas a dynamic character limit based on your PSP's configured prefix:MIN(18, 21 - length(PSP Prefix) - 1). The system automatically normalizes the text to uppercase and builds the Soft Descriptor. See the field details below for character restrictions.
status field, which can have one of the following values:INITIALIZED – The request has been received and is being processed.VALIDATION_FAILED – At least one submerchant in the request contains errors, preventing successful processing.requestId, which can be used to track the status of the creation process.submerchantId – A unique identifier assigned to the submerchant.submerchantName – The name of the submerchant.status – Indicates if the submerchant passed validation:VALID – The submerchant was successfully validated.INVALID – The submerchant contains errors and requires correction.Make sure to check the webhook notification. This will confirm whether the validation process was successful or rejected.
curl --location 'https://api-uat.kushkipagos.com/onboarding/v1/submerchants/batch' \
--header 'X-Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"pspCustomerId": "20000000105771766000",
"operationType": "CNP",
"operationCountry": "COL",
"submerchantCountryTaxResidency": "COL",
"submerchantTaxId": "9001234567",
"submerchantLegalName": "COMERCIAL COLOMBIA S.A.S.",
"submerchantLegalEntityType": "Private",
"submerchantName": "COL API DOC",
"submerchantAddress": "Calle 93 # 11A - 28",
"submerchantCity": "Bogotá",
"submerchantPostalCode": "110221",
"submerchantUrl": "https://www.ejemplo.co",
"submerchantMcc": "5732",
"legalRepresentativeName": "Juan Carlos",
"legalRepresentativeFirstLastName": "Esquer",
"legalRepresentativeSecondLastName": "Ramos",
"legalRepresentativeDateBirth": "12/07/1990",
"legalRepresentativeIdNumber": "1018456789",
"legalRepresentativeSameAsUbo": true,
"uboName": "Juan Carlos",
"uboFirstLastName": "Esquer",
"uboSecondLastName": "Ramos",
"uboDateBirth": "12/07/1990",
"ubo2Name": "",
"ubo2FirstLastName": "",
"ubo2SecondLastName": "",
"ubo2DateBirth": "",
"secondConcurrenceNeeded": true,
"pspNotificationEmail": "test@kushkipagos.com",
"openField": ""
}
]'{
"status": "INITIALIZED",
"requestId": "5c91b0ee-677f-448e-b2e8-eb13bf2efcab",
"message": "The submerchants are ready to be processed. We will notify you once all have been processed",
"results": [
{
"submerchantId": "5e9a859c-2112-4e8e-b819-2d18bc0f4d29",
"submerchantName": "Kushki Colombia",
"status": "VALID",
"message": "The format is valid",
"errors": []
},
{
"submerchantId": "c0d99b38-9590-49fc-b348-899affe20726",
"submerchantName": "Empresa Bogotá SAS",
"status": "VALID",
"message": "The format is valid",
"errors": []
}
]
}