Lookup
Get merchant information based on a short code.
GET /v1/merchant/admin/lookup/shortcode/{shortCode}
Sample
GET /v1/merchant/admin/lookup/shortcode/123Auth: API key (VantagePayAdminClient).
Parameters
| Name | In | Required | Description |
|---|---|---|---|
shortCode | path | Yes | A globally unique internal merchant reference. |
Responses
| Status | Description |
|---|---|
200 | The request was successful and the merchant information was returned. |
400 | The request failed validation, the error object will contain further information. |
401 | The authorization information provided is not valid, authentication is required to access this resource. |
403 | The authorization header does not contain the correct type or you do not have access to this resource. |
404 | The request was successful but does not return any results. |
422 | The request payload is invalid, the error object will contain further information. |
429 | Too many requests are being sent concurrently or rate limiting has taken effect. |
500 | An unexpected error occurred, the error object will contain further information. |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | No | Gets a value indicating whether the operation was successful. |
result | object | No | Full merchant profile, extending ZGA.Core.Models.Merchants.BasicMerchant with trading details, linked accounts, terminals, employees, addresses, and KYB documentation. |
{
"success": true,
"result": {
"createdDate": "string",
"loginCredentials": {},
"tradingName": "string",
"franchiseName": "string",
"capturedBy": "string",
"capturedFrom": "string",
"industry": "None",
"phoneNumber": "string",
"notificationEmailAddress": "string",
"notificationMobileNumber": "string",
"city": "string",
"state": "string",
"languageIsoCode": "None",
"webSiteUrl": "string",
"isRegistrationComplete": true,
"isEmailVerified": true,
"isMobileNumberVerified": true,
"vCard": "string",
"logoImage": "string",
"taxNumber": "string",
"companyRegistrationNumber": "string",
"companyRegistrationDate": "string",
"adminPasscode": "string",
"logoUrl": "string",
"hostedPaymentUrl": "string",
"hostedPaymentOptions": {},
"posOptions": {},
"business": {},
"addresses": [],
"employees": [],
"terminals": [],
"files": [],
"notificationSettings": [],
"attributes": [],
"bankAccounts": [],
"mobileWallets": [],
"operatingTimes": [],
"devices": [],
"qrCodes": [],
"assignedProductReferences": [],
"reference": "00000000-0000-0000-0000-000000000000",
"userReference": "00000000-0000-0000-0000-000000000000",
"yourReference": "string",
"source": "string",
"name": "string",
"categoryCode": 0,
"category": "string",
"emailAddress": "string",
"mobileNumber": "string",
"countryIsoCode": "None",
"currency": "None",
"kybStatusSummary": "Unverified",
"shortCode": 0,
"isActive": true
}
}Code samples
WARNING
The JavaScript SDK does not cover admin APIs - use the .NET SDK.
var merchant = await adminClient.Merchants.GetMerchantByShortCodeAsync(12345);Get merchant information based on an attribute.
GET /v1/merchant/admin/lookup/attribute/{attribute}/{attributeValue}
Sample
GET /v1/merchant/admin/lookup/attribute/3/123456789Auth: API key (VantagePayAdminClient).
Parameters
| Name | In | Required | Description |
|---|---|---|---|
attribute | path | Yes | The attribute to lookup. |
attributeValue | path | Yes | The attribute value to match. |
Responses
| Status | Description |
|---|---|
200 | The request was successful and the merchant information was returned. |
400 | The request failed validation, the error object will contain further information. |
401 | The authorization information provided is not valid, authentication is required to access this resource. |
403 | The authorization header does not contain the correct type or you do not have access to this resource. |
404 | The request was successful but does not return any results. |
422 | The request payload is invalid, the error object will contain further information. |
429 | Too many requests are being sent concurrently or rate limiting has taken effect. |
500 | An unexpected error occurred, the error object will contain further information. |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | No | Gets a value indicating whether the operation was successful. |
result | object | No | Full merchant profile, extending ZGA.Core.Models.Merchants.BasicMerchant with trading details, linked accounts, terminals, employees, addresses, and KYB documentation. |
{
"success": true,
"result": {
"createdDate": "string",
"loginCredentials": {},
"tradingName": "string",
"franchiseName": "string",
"capturedBy": "string",
"capturedFrom": "string",
"industry": "None",
"phoneNumber": "string",
"notificationEmailAddress": "string",
"notificationMobileNumber": "string",
"city": "string",
"state": "string",
"languageIsoCode": "None",
"webSiteUrl": "string",
"isRegistrationComplete": true,
"isEmailVerified": true,
"isMobileNumberVerified": true,
"vCard": "string",
"logoImage": "string",
"taxNumber": "string",
"companyRegistrationNumber": "string",
"companyRegistrationDate": "string",
"adminPasscode": "string",
"logoUrl": "string",
"hostedPaymentUrl": "string",
"hostedPaymentOptions": {},
"posOptions": {},
"business": {},
"addresses": [],
"employees": [],
"terminals": [],
"files": [],
"notificationSettings": [],
"attributes": [],
"bankAccounts": [],
"mobileWallets": [],
"operatingTimes": [],
"devices": [],
"qrCodes": [],
"assignedProductReferences": [],
"reference": "00000000-0000-0000-0000-000000000000",
"userReference": "00000000-0000-0000-0000-000000000000",
"yourReference": "string",
"source": "string",
"name": "string",
"categoryCode": 0,
"category": "string",
"emailAddress": "string",
"mobileNumber": "string",
"countryIsoCode": "None",
"currency": "None",
"kybStatusSummary": "Unverified",
"shortCode": 0,
"isActive": true
}
}Code samples
WARNING
The JavaScript SDK does not cover admin APIs - use the .NET SDK.
using VantagePay.Models.Merchants;
var merchant = await adminClient.Merchants.GetMerchantByAttributeAsync(MerchantAttribute.GhIPSSMerchantId, "GH00012345");Get merchant information based on a terminal reference.
GET /v1/merchant/admin/lookup/terminal/{terminalReference}/{merchantSource}
Sample
GET /v1/merchant/admin/lookup/terminal/c5564d4a-cbd4-4b8d-a411-64d010678f8e/zgaAuth: API key (VantagePayAdminClient).
Parameters
| Name | In | Required | Description |
|---|---|---|---|
terminalReference | path | Yes | A globally unique internal terminal reference (UUID) or an external terminal reference. |
merchantSource | path | Yes | A unique reference to the partner associated with the merchant. |
Responses
| Status | Description |
|---|---|
200 | The request was successful and the merchant information was returned. |
400 | The request failed validation, the error object will contain further information. |
401 | The authorization information provided is not valid, authentication is required to access this resource. |
403 | The authorization header does not contain the correct type or you do not have access to this resource. |
404 | The request was successful but does not return any results. |
422 | The request payload is invalid, the error object will contain further information. |
429 | Too many requests are being sent concurrently or rate limiting has taken effect. |
500 | An unexpected error occurred, the error object will contain further information. |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | No | Gets a value indicating whether the operation was successful. |
result | object | No | Full merchant profile, extending ZGA.Core.Models.Merchants.BasicMerchant with trading details, linked accounts, terminals, employees, addresses, and KYB documentation. |
{
"success": true,
"result": {
"createdDate": "string",
"loginCredentials": {},
"tradingName": "string",
"franchiseName": "string",
"capturedBy": "string",
"capturedFrom": "string",
"industry": "None",
"phoneNumber": "string",
"notificationEmailAddress": "string",
"notificationMobileNumber": "string",
"city": "string",
"state": "string",
"languageIsoCode": "None",
"webSiteUrl": "string",
"isRegistrationComplete": true,
"isEmailVerified": true,
"isMobileNumberVerified": true,
"vCard": "string",
"logoImage": "string",
"taxNumber": "string",
"companyRegistrationNumber": "string",
"companyRegistrationDate": "string",
"adminPasscode": "string",
"logoUrl": "string",
"hostedPaymentUrl": "string",
"hostedPaymentOptions": {},
"posOptions": {},
"business": {},
"addresses": [],
"employees": [],
"terminals": [],
"files": [],
"notificationSettings": [],
"attributes": [],
"bankAccounts": [],
"mobileWallets": [],
"operatingTimes": [],
"devices": [],
"qrCodes": [],
"assignedProductReferences": [],
"reference": "00000000-0000-0000-0000-000000000000",
"userReference": "00000000-0000-0000-0000-000000000000",
"yourReference": "string",
"source": "string",
"name": "string",
"categoryCode": 0,
"category": "string",
"emailAddress": "string",
"mobileNumber": "string",
"countryIsoCode": "None",
"currency": "None",
"kybStatusSummary": "Unverified",
"shortCode": 0,
"isActive": true
}
}Code samples
WARNING
The JavaScript SDK does not cover admin APIs - use the .NET SDK.
var merchant = await adminClient.Merchants.GetMerchantByTerminalReferenceAsync("TERM-01", "HUB");Get merchant information based on a short code.
GET /v1/merchant/admin/lookup/wallet/{msisdn}
Sample
GET /v1/merchant/admin/lookup/wallet/23387766555Auth: API key (VantagePayAdminClient).
Parameters
| Name | In | Required | Description |
|---|---|---|---|
msisdn | path | Yes | The MSISDN to search for merchant accounts. |
Responses
| Status | Description |
|---|---|
200 | The request was successful and the merchant information was returned. |
400 | The request failed validation, the error object will contain further information. |
401 | The authorization information provided is not valid, authentication is required to access this resource. |
403 | The authorization header does not contain the correct type or you do not have access to this resource. |
404 | The request was successful but does not return any results. |
422 | The request payload is invalid, the error object will contain further information. |
429 | Too many requests are being sent concurrently or rate limiting has taken effect. |
500 | An unexpected error occurred, the error object will contain further information. |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | No | Gets a value indicating whether the operation was successful. |
result | array<object>? | No | Gets the response payload. |
{
"success": true,
"result": [
{}
]
}Code samples
WARNING
The JavaScript SDK does not cover admin APIs - use the .NET SDK.
var merchants = await adminClient.Merchants.GetMerchantsByMobileWalletNumberAsync("233555666112");