Skip to main content

List all payers

Get list of payers added for the client

Definition

URL
GET https://api-test.instarem.com:4803/api/v1/client/{clientId}/payers

Header Parameters:

ParameterDescriptionTypeRequired
authorizationAuthentication token.StringYes
content-typeThe Content-Type entity header is used to indicate the media type of the resource. Expected values could be application/json or multipart/form-data.StringYes

Path Parameters:

ParameterDescriptionTypeRequired
clientIdThis is the unique client ID generated by Nium.StringYes

Query Parameters:

ParameterDescriptionTypeRequired
countryCodeCountry Code.StringNo
startStart counter for the page.NumberNo
limitLimit counter for the page.NumberNo

Example Request:

curl --request get \\
--url "https://api-test.instarem.com:4803/api/v1/client/{clientId}/payers?countryCode=&start=&limit=" \\
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTgxMzQ4OTQsImRhdGEiOnsic3ViIjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWE1IiwiY2xpZW50IjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWExIn0sImlhdCI6MTQ5ODA0ODQ5NH0.pevwSDpk-JDNtVIpqFu_m0Xu1UnDVumrAYStcrxf8sM' \\
--header 'content-type: application/json'

Response:

{
"records": [
{
"payerId": "eb69f945-f507-4767-97da-03ef4fc55dce",
"companyName": "Nium India Pvt Ltd",
"website": "https://www.nium.com",
"name": "John Doe",
"email": "john.doe@nium.com",
"type": "COMPANY",
"country": {
"countryCode": "IN",
"countryName": "India"
}
}
],
"total": 1
}

Response Parameters:

ParameterDescriptionType
records[n].payerIdThis is the unique payer ID generated by Nium.String
records[n].companyNamePayers company name.String
records[n].websiteWebsite link.String
records[n].nameName of the payer.String
records[n].emailEmail Id of the payer.String
records[n].typeType of the payer.String
records[n].country.countryCodeCountry Code.String
records[n].country.countryNameCountry Name.String
totalTotal Number of payers.Number