Create Claim
curl --request POST \
--url https://api.eka.care/abdm/nhcx/v1/claims \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": 1,
"items": [
{
"claim_amount": 123,
"procedure_code": "<string>",
"procedure_name": "<string>",
"quantity": 123,
"questionnaire_answers": [
{
"answer": "<unknown>",
"link_id": "<string>"
}
],
"speciality_code": "<string>",
"speciality_name": "<string>",
"strat_code": "<string>",
"supporting_docs": [
{
"category_code": "<string>",
"doc_code": "<string>",
"doc_display": "<string>",
"url": "<string>"
}
]
}
],
"registration": {
"attendant": {
"mobile": "<string>",
"name": "<string>",
"relation": "<string>"
},
"child": {
"birth_certificate": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
},
"parent_pmjay_id": "<string>"
},
"emergency_justification": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
}
},
"visit_date": "<string>"
}
'import requests
url = "https://api.eka.care/abdm/nhcx/v1/claims"
payload = {
"policy_id": 1,
"items": [
{
"claim_amount": 123,
"procedure_code": "<string>",
"procedure_name": "<string>",
"quantity": 123,
"questionnaire_answers": [
{
"answer": "<unknown>",
"link_id": "<string>"
}
],
"speciality_code": "<string>",
"speciality_name": "<string>",
"strat_code": "<string>",
"supporting_docs": [
{
"category_code": "<string>",
"doc_code": "<string>",
"doc_display": "<string>",
"url": "<string>"
}
]
}
],
"registration": {
"attendant": {
"mobile": "<string>",
"name": "<string>",
"relation": "<string>"
},
"child": {
"birth_certificate": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
},
"parent_pmjay_id": "<string>"
},
"emergency_justification": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
}
},
"visit_date": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
policy_id: 1,
items: [
{
claim_amount: 123,
procedure_code: '<string>',
procedure_name: '<string>',
quantity: 123,
questionnaire_answers: [{answer: '<unknown>', link_id: '<string>'}],
speciality_code: '<string>',
speciality_name: '<string>',
strat_code: '<string>',
supporting_docs: [
{
category_code: '<string>',
doc_code: '<string>',
doc_display: '<string>',
url: '<string>'
}
]
}
],
registration: {
attendant: {mobile: '<string>', name: '<string>', relation: '<string>'},
child: {
birth_certificate: {content: '<string>', content_type: '<string>', title: '<string>'},
parent_pmjay_id: '<string>'
},
emergency_justification: {content: '<string>', content_type: '<string>', title: '<string>'}
},
visit_date: '<string>'
})
};
fetch('https://api.eka.care/abdm/nhcx/v1/claims', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eka.care/abdm/nhcx/v1/claims",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'policy_id' => 1,
'items' => [
[
'claim_amount' => 123,
'procedure_code' => '<string>',
'procedure_name' => '<string>',
'quantity' => 123,
'questionnaire_answers' => [
[
'answer' => '<unknown>',
'link_id' => '<string>'
]
],
'speciality_code' => '<string>',
'speciality_name' => '<string>',
'strat_code' => '<string>',
'supporting_docs' => [
[
'category_code' => '<string>',
'doc_code' => '<string>',
'doc_display' => '<string>',
'url' => '<string>'
]
]
]
],
'registration' => [
'attendant' => [
'mobile' => '<string>',
'name' => '<string>',
'relation' => '<string>'
],
'child' => [
'birth_certificate' => [
'content' => '<string>',
'content_type' => '<string>',
'title' => '<string>'
],
'parent_pmjay_id' => '<string>'
],
'emergency_justification' => [
'content' => '<string>',
'content_type' => '<string>',
'title' => '<string>'
]
],
'visit_date' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eka.care/abdm/nhcx/v1/claims"
payload := strings.NewReader("{\n \"policy_id\": 1,\n \"items\": [\n {\n \"claim_amount\": 123,\n \"procedure_code\": \"<string>\",\n \"procedure_name\": \"<string>\",\n \"quantity\": 123,\n \"questionnaire_answers\": [\n {\n \"answer\": \"<unknown>\",\n \"link_id\": \"<string>\"\n }\n ],\n \"speciality_code\": \"<string>\",\n \"speciality_name\": \"<string>\",\n \"strat_code\": \"<string>\",\n \"supporting_docs\": [\n {\n \"category_code\": \"<string>\",\n \"doc_code\": \"<string>\",\n \"doc_display\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]\n }\n ],\n \"registration\": {\n \"attendant\": {\n \"mobile\": \"<string>\",\n \"name\": \"<string>\",\n \"relation\": \"<string>\"\n },\n \"child\": {\n \"birth_certificate\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n },\n \"parent_pmjay_id\": \"<string>\"\n },\n \"emergency_justification\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n }\n },\n \"visit_date\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/nhcx/v1/claims")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"policy_id\": 1,\n \"items\": [\n {\n \"claim_amount\": 123,\n \"procedure_code\": \"<string>\",\n \"procedure_name\": \"<string>\",\n \"quantity\": 123,\n \"questionnaire_answers\": [\n {\n \"answer\": \"<unknown>\",\n \"link_id\": \"<string>\"\n }\n ],\n \"speciality_code\": \"<string>\",\n \"speciality_name\": \"<string>\",\n \"strat_code\": \"<string>\",\n \"supporting_docs\": [\n {\n \"category_code\": \"<string>\",\n \"doc_code\": \"<string>\",\n \"doc_display\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]\n }\n ],\n \"registration\": {\n \"attendant\": {\n \"mobile\": \"<string>\",\n \"name\": \"<string>\",\n \"relation\": \"<string>\"\n },\n \"child\": {\n \"birth_certificate\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n },\n \"parent_pmjay_id\": \"<string>\"\n },\n \"emergency_justification\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n }\n },\n \"visit_date\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/nhcx/v1/claims")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"policy_id\": 1,\n \"items\": [\n {\n \"claim_amount\": 123,\n \"procedure_code\": \"<string>\",\n \"procedure_name\": \"<string>\",\n \"quantity\": 123,\n \"questionnaire_answers\": [\n {\n \"answer\": \"<unknown>\",\n \"link_id\": \"<string>\"\n }\n ],\n \"speciality_code\": \"<string>\",\n \"speciality_name\": \"<string>\",\n \"strat_code\": \"<string>\",\n \"supporting_docs\": [\n {\n \"category_code\": \"<string>\",\n \"doc_code\": \"<string>\",\n \"doc_display\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]\n }\n ],\n \"registration\": {\n \"attendant\": {\n \"mobile\": \"<string>\",\n \"name\": \"<string>\",\n \"relation\": \"<string>\"\n },\n \"child\": {\n \"birth_certificate\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n },\n \"parent_pmjay_id\": \"<string>\"\n },\n \"emergency_justification\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n }\n },\n \"visit_date\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"case_number": "<string>",
"catalog_md5": "<string>",
"claim_id": 1
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}Claims
Create Claim
Creates the claim (the case every later call hangs off) and sends the auth-requirements check for the listed procedures. An open claim for the same policy and beneficiary is reused. The payer’s per-procedure documents and questionnaires arrive on the coverage_eligibility request in Get Claim Requests.
POST
/
abdm
/
nhcx
/
v1
/
claims
Create Claim
curl --request POST \
--url https://api.eka.care/abdm/nhcx/v1/claims \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": 1,
"items": [
{
"claim_amount": 123,
"procedure_code": "<string>",
"procedure_name": "<string>",
"quantity": 123,
"questionnaire_answers": [
{
"answer": "<unknown>",
"link_id": "<string>"
}
],
"speciality_code": "<string>",
"speciality_name": "<string>",
"strat_code": "<string>",
"supporting_docs": [
{
"category_code": "<string>",
"doc_code": "<string>",
"doc_display": "<string>",
"url": "<string>"
}
]
}
],
"registration": {
"attendant": {
"mobile": "<string>",
"name": "<string>",
"relation": "<string>"
},
"child": {
"birth_certificate": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
},
"parent_pmjay_id": "<string>"
},
"emergency_justification": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
}
},
"visit_date": "<string>"
}
'import requests
url = "https://api.eka.care/abdm/nhcx/v1/claims"
payload = {
"policy_id": 1,
"items": [
{
"claim_amount": 123,
"procedure_code": "<string>",
"procedure_name": "<string>",
"quantity": 123,
"questionnaire_answers": [
{
"answer": "<unknown>",
"link_id": "<string>"
}
],
"speciality_code": "<string>",
"speciality_name": "<string>",
"strat_code": "<string>",
"supporting_docs": [
{
"category_code": "<string>",
"doc_code": "<string>",
"doc_display": "<string>",
"url": "<string>"
}
]
}
],
"registration": {
"attendant": {
"mobile": "<string>",
"name": "<string>",
"relation": "<string>"
},
"child": {
"birth_certificate": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
},
"parent_pmjay_id": "<string>"
},
"emergency_justification": {
"content": "<string>",
"content_type": "<string>",
"title": "<string>"
}
},
"visit_date": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
policy_id: 1,
items: [
{
claim_amount: 123,
procedure_code: '<string>',
procedure_name: '<string>',
quantity: 123,
questionnaire_answers: [{answer: '<unknown>', link_id: '<string>'}],
speciality_code: '<string>',
speciality_name: '<string>',
strat_code: '<string>',
supporting_docs: [
{
category_code: '<string>',
doc_code: '<string>',
doc_display: '<string>',
url: '<string>'
}
]
}
],
registration: {
attendant: {mobile: '<string>', name: '<string>', relation: '<string>'},
child: {
birth_certificate: {content: '<string>', content_type: '<string>', title: '<string>'},
parent_pmjay_id: '<string>'
},
emergency_justification: {content: '<string>', content_type: '<string>', title: '<string>'}
},
visit_date: '<string>'
})
};
fetch('https://api.eka.care/abdm/nhcx/v1/claims', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eka.care/abdm/nhcx/v1/claims",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'policy_id' => 1,
'items' => [
[
'claim_amount' => 123,
'procedure_code' => '<string>',
'procedure_name' => '<string>',
'quantity' => 123,
'questionnaire_answers' => [
[
'answer' => '<unknown>',
'link_id' => '<string>'
]
],
'speciality_code' => '<string>',
'speciality_name' => '<string>',
'strat_code' => '<string>',
'supporting_docs' => [
[
'category_code' => '<string>',
'doc_code' => '<string>',
'doc_display' => '<string>',
'url' => '<string>'
]
]
]
],
'registration' => [
'attendant' => [
'mobile' => '<string>',
'name' => '<string>',
'relation' => '<string>'
],
'child' => [
'birth_certificate' => [
'content' => '<string>',
'content_type' => '<string>',
'title' => '<string>'
],
'parent_pmjay_id' => '<string>'
],
'emergency_justification' => [
'content' => '<string>',
'content_type' => '<string>',
'title' => '<string>'
]
],
'visit_date' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eka.care/abdm/nhcx/v1/claims"
payload := strings.NewReader("{\n \"policy_id\": 1,\n \"items\": [\n {\n \"claim_amount\": 123,\n \"procedure_code\": \"<string>\",\n \"procedure_name\": \"<string>\",\n \"quantity\": 123,\n \"questionnaire_answers\": [\n {\n \"answer\": \"<unknown>\",\n \"link_id\": \"<string>\"\n }\n ],\n \"speciality_code\": \"<string>\",\n \"speciality_name\": \"<string>\",\n \"strat_code\": \"<string>\",\n \"supporting_docs\": [\n {\n \"category_code\": \"<string>\",\n \"doc_code\": \"<string>\",\n \"doc_display\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]\n }\n ],\n \"registration\": {\n \"attendant\": {\n \"mobile\": \"<string>\",\n \"name\": \"<string>\",\n \"relation\": \"<string>\"\n },\n \"child\": {\n \"birth_certificate\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n },\n \"parent_pmjay_id\": \"<string>\"\n },\n \"emergency_justification\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n }\n },\n \"visit_date\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/nhcx/v1/claims")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"policy_id\": 1,\n \"items\": [\n {\n \"claim_amount\": 123,\n \"procedure_code\": \"<string>\",\n \"procedure_name\": \"<string>\",\n \"quantity\": 123,\n \"questionnaire_answers\": [\n {\n \"answer\": \"<unknown>\",\n \"link_id\": \"<string>\"\n }\n ],\n \"speciality_code\": \"<string>\",\n \"speciality_name\": \"<string>\",\n \"strat_code\": \"<string>\",\n \"supporting_docs\": [\n {\n \"category_code\": \"<string>\",\n \"doc_code\": \"<string>\",\n \"doc_display\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]\n }\n ],\n \"registration\": {\n \"attendant\": {\n \"mobile\": \"<string>\",\n \"name\": \"<string>\",\n \"relation\": \"<string>\"\n },\n \"child\": {\n \"birth_certificate\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n },\n \"parent_pmjay_id\": \"<string>\"\n },\n \"emergency_justification\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n }\n },\n \"visit_date\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/nhcx/v1/claims")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"policy_id\": 1,\n \"items\": [\n {\n \"claim_amount\": 123,\n \"procedure_code\": \"<string>\",\n \"procedure_name\": \"<string>\",\n \"quantity\": 123,\n \"questionnaire_answers\": [\n {\n \"answer\": \"<unknown>\",\n \"link_id\": \"<string>\"\n }\n ],\n \"speciality_code\": \"<string>\",\n \"speciality_name\": \"<string>\",\n \"strat_code\": \"<string>\",\n \"supporting_docs\": [\n {\n \"category_code\": \"<string>\",\n \"doc_code\": \"<string>\",\n \"doc_display\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]\n }\n ],\n \"registration\": {\n \"attendant\": {\n \"mobile\": \"<string>\",\n \"name\": \"<string>\",\n \"relation\": \"<string>\"\n },\n \"child\": {\n \"birth_certificate\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n },\n \"parent_pmjay_id\": \"<string>\"\n },\n \"emergency_justification\": {\n \"content\": \"<string>\",\n \"content_type\": \"<string>\",\n \"title\": \"<string>\"\n }\n },\n \"visit_date\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"case_number": "<string>",
"catalog_md5": "<string>",
"claim_id": 1
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}Authorizations
The API requires a Bearer token (JWT) for authentication.
Headers
Eka User ID (OID)
Partner User ID
Partner HIP ID
Body
application/json
Required range:
x >= 0Available options:
planned, emergency Procedures the case is for
Show child attributes
Show child attributes
Attendant, emergency justification and child details. Stored on the claim, not sent to the payer
Show child attributes
Show child attributes
Planned date of service, YYYY-MM-DD. Defaults to today
Was this page helpful?

