Get Default Payment Provider
This endpoint retrieves the default provider for bank transfers for a merchant.
Endpoint
GET /Merchants/GetDefaultProviderByMerchantId/{{merchantId}}
Path Parameters
Parameter | Type | Description |
---|---|---|
merchantId | integer | The unique identifier of the merchant. |
Response
Successful Response
{
"responseCode": "00",
"responseMessage": "Merchant default provider information fetched successfully",
"data": {
"transferProcessor": {
"bank": "Providus Bank",
"code": "045"
}
}
}
Response Fields
Field | Type | Description |
---|---|---|
responseCode | string | Status code of the request. "00" indicates success. |
responseMessage | string | Description of the response status. |
data.transferProcessor.bank | string | The bank used for bank transfers. |
data.transferProcessor.code | string | The unique bank code. |
Usage
To obtain the bankCode
for bank transfer payments, call this endpoint and extract the transferProcessor.code
from the response data.