Get Claim Payments
curl --request GET \
--url https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"amount": 123,
"claim_number": "<string>",
"correlation_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"detail": [
{
"amount": 123,
"date": "<string>",
"id": "<string>",
"type": "<string>"
}
],
"disposition": "<string>",
"id": 1,
"payment_date": "<string>",
"payment_status": "<string>",
"transaction_ref": "<string>",
"utr": "<string>"
}
]{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}Tracking
Get Claim Payments
Every payment notice the payer sent for the claim. Group rows by transaction_ref; a transaction’s amount is its latest row’s amount, not the sum.
GET
/
abdm
/
nhcx
/
v1
/
claims
/
{claimId}
/
payments
Get Claim Payments
curl --request GET \
--url https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/nhcx/v1/claims/{claimId}/payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"amount": 123,
"claim_number": "<string>",
"correlation_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"detail": [
{
"amount": 123,
"date": "<string>",
"id": "<string>",
"type": "<string>"
}
],
"disposition": "<string>",
"id": 1,
"payment_date": "<string>",
"payment_status": "<string>",
"transaction_ref": "<string>",
"utr": "<string>"
}
]{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}Authorizations
Headers
Response
OK
Was this page helpful?

