Skip to main content

Business Type

GET

Go To Payout

GEThttp://host/ewallet/api/v1/masterBusinessTypes/RHUB/{transactionType}

The Business API is used to fetch the Business type of customer.

Request Parameter

ParametersInput TypeLengthRequirementDescription
transactionTypeAlphanumeric03MThe harmonized Transaction Type. Fixed default value B2C, B2B, C2C, C2B.

Requirement legend: M = Mandatory · O = Optional · C = Conditional

Request Details

GET /services HTTP/1.0
HOST: XXX.XXX.XXX.XXX:Port
Content-Type: application/json; charset=utf-8
GET http://host/ewallet/api/v1/masterBusinessTypes/RHUB/B2B

Response Parameter of Nature of Business

ParametersData TypeRequirementDescription
transactionIdStringM
requestTimeStringMThis is the requested date and time in the Day Mmm DD HH:MM:SS TIMEZONE YYYY.
responseTimeStringMThis is the response date and time in the Day Mmm DD HH:MM:SS TIMEZONE YYYY.
resultCodeStringMUnique code of the status of the transaction.
resultDescriptionStringMDescription of the status of the transaction.
Nature of Business List
idStringMThe serial number of the record.
codeStringMThe unique code of the record, which will be passed where required.
nameStringMThe nature of the business run by the customer.
statusStringMThe status of the customer.
creationDateStringMThe creation date of the customer in the YYYY-MM-DD <Delimiter> HH:MM:SS.MS TIMEZONE
partnerCodeStringMThe unique code of payout partner (recieverCode).
serviceTypeCodeStringMThe transaction type code. eg: B2B.

Requirement legend: M = Mandatory · O = Optional · C = Conditional

Response Details of Nature of Business

{
"transactionId": "9217725",
"requestTime": "Tue Jan 28 16:23:11 IST 2025",
"responseTime": "Tue Jan 28 16:23:11 IST 2025",
"resultCode": "0",
"resultDescription": "Transaction successful",
"masterBusinessTypesBeanList": [
{
"id": 654,
"code": "RHT012",
"name": "Others",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 653,
"code": "RHT011",
"name": "Professional Services",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 652,
"code": "RHT010",
"name": "Transportation and Logistics",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 651,
"code": "RHT009",
"name": "Real Estate",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 650,
"code": "RHT008",
"name": "Retail",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 649,
"code": "RHT007",
"name": "Manufacturing",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 648,
"code": "RHT006",
"name": "Information Technology",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 647,
"code": "RHT005",
"name": "Education",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 646,
"code": "RHT004",
"name": "Construction",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 645,
"code": "RHT003",
"name": "Banking",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 644,
"code": "RHT002",
"name": "Automotive",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
},
{
"id": 643,
"code": "RHT001",
"name": "Agriculture",
"status": "Y",
"creationDate": "2025-01-16T16:49:15.236+0530",
"partnerCode": "RHUB",
"serviceTypeCode": "B2B"
}
]
}