Retrieve Submerchant

In the marketplace solution, you can use the following services to query the documents of your members.

Retrieve Submerchant

POST https://api.iyzipay.com/onboarding/submerchant/detail

Request Body

NameTypeDescription

locale

String

Language (default: tr)

conversationId

String

If set, conversation ID to match request and response

subMerchantExternalId*

String

Merchant identification number on your system

{
"status":"success",
"locale":"tr",
"systemTime":1686439210683,
"conversationId":"123456789",
"name":"Jane's market",
"email":"email@submerchantemail.com",
"gsmNumber":"+905350000000",
"address":"Nidakule Göztepe, Merdivenköy Mah. Bora Sok. No:1",
"iban":"TR180006200119000006672315",
"bankCountry":"TR",
"currency":"TRY",
"taxOffice":"Tax office",
"legalCompanyTitle":"Jane Doe inc",
"subMerchantExternalId":"S492gn22",
"identityNumber":"31300864726",
"subMerchantType":"PRIVATE_COMPANY",
"subMerchantKey":"//1GpuCHXkofxapmacyoimf6u/o="
}

Retrieve Submerchant Response

Input NameData TypeDescription

name

String

Name of submerchant

gsmNumber

String

GSM number of submerchant

taxOffice

String

Tax office of submerchant

taxNumber

String

Tax number of submerchant

legalCompanyTitle

String

Legal Company Title of submerchant

email

String

Email of submerchant

address

String

Address of submerchant

iban

String

IBAN number of submerchant

subMerchantExternalId

String

Merchant provided of submerchant

subMerchantKey

String

Key of submerchant must be

status

String

Service response result (success / failure)

errorCode

String

Error code if service response status is failure

errorMessage

String

Error message if service response status is failure

errorGroup

String

Error group if service response status is failure

locale

String

Language (default: tr)

systemTime

Integer

Response system timestamp value

conversationId

String

If set, conversation ID to match request and response

Retrieve Submerchant Sample Requests

$request = new \Iyzipay\Request\RetrieveSubMerchantRequest();
$request->setLocale(\Iyzipay\Model\Locale::TR);
$request->setConversationId("123456789");
$request->setSubMerchantExternalId("AS49224");

# make request
$subMerchant = \Iyzipay\Model\SubMerchant::retrieve($request, Config::options());

Last updated