merchantIds in a single request.publicCredential and privateCredential are the keys used for transactional operations such as charges and subscriptions.merchantId is not valid or does not meet the criteria, the API will return the submerchantId and a descriptive message.curl --location --request POST '/onboarding/v1/submerchants/credentials' \
--header 'X-Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"submerchantIds": [
"20090200103691174000",
"00000000108451820000",
"80000000101279730000",
"10000000103480033000"
]
}'{
"pspId": "138",
"credentials": [
{
"submerchantId": "20000000123456789000",
"publicCredential": "a1b2c3d4e5f64718a9b01234abcd5678",
"privateCredential": "f1e2d3c4b5a60987cdef1234abcd5678"
},
{
"submerchantId": "20000000987654321000",
"publicCredential": "1234abcd5678ef9012bc3456de7890fa",
"privateCredential": "abcd1234ef5612cd7890ab34cdef5678"
},
{
"submerchantId": "99999999123456780000",
"message": "The submerchant does not belong to the authenticated PSP"
}
]
}