curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fullName1": "Jordan Smith",
"cardExpiry": "31-12-2026",
"cardNumber": "1234567890",
"cardType": "G",
"individualRefNumber": 1,
"dob": "15-03-1990"
}
'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough"
payload = {
"fullName1": "Jordan Smith",
"cardExpiry": "31-12-2026",
"cardNumber": "1234567890",
"cardType": "G",
"individualRefNumber": 1,
"dob": "15-03-1990"
}
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({
fullName1: 'Jordan Smith',
cardExpiry: '31-12-2026',
cardNumber: '1234567890',
cardType: 'G',
individualRefNumber: 1,
dob: '15-03-1990'
})
};
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough', 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://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough",
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([
'fullName1' => 'Jordan Smith',
'cardExpiry' => '31-12-2026',
'cardNumber' => '1234567890',
'cardType' => 'G',
'individualRefNumber' => 1,
'dob' => '15-03-1990'
]),
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://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough"
payload := strings.NewReader("{\n \"fullName1\": \"Jordan Smith\",\n \"cardExpiry\": \"31-12-2026\",\n \"cardNumber\": \"1234567890\",\n \"cardType\": \"G\",\n \"individualRefNumber\": 1,\n \"dob\": \"15-03-1990\"\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://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fullName1\": \"Jordan Smith\",\n \"cardExpiry\": \"31-12-2026\",\n \"cardNumber\": \"1234567890\",\n \"cardType\": \"G\",\n \"individualRefNumber\": 1,\n \"dob\": \"15-03-1990\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough")
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 \"fullName1\": \"Jordan Smith\",\n \"cardExpiry\": \"31-12-2026\",\n \"cardNumber\": \"1234567890\",\n \"cardType\": \"G\",\n \"individualRefNumber\": 1,\n \"dob\": \"15-03-1990\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Australia Medicare Card processed successfully",
"data": {
"isValid": true
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"transactionId": "79b6f81c-fc48-42ce-b907-763129b0957e",
"verificationType": "australia_medicare_card",
"metadata": {
"yourRef": "testCase-9002"
},
"createdAt": "2026-08-27 02:49:30+0000"
}Medicare Card
Verify an Australian Medicare Card by submitting the required medicare card details to the Australian Document Verification Service (DVS).
curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fullName1": "Jordan Smith",
"cardExpiry": "31-12-2026",
"cardNumber": "1234567890",
"cardType": "G",
"individualRefNumber": 1,
"dob": "15-03-1990"
}
'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough"
payload = {
"fullName1": "Jordan Smith",
"cardExpiry": "31-12-2026",
"cardNumber": "1234567890",
"cardType": "G",
"individualRefNumber": 1,
"dob": "15-03-1990"
}
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({
fullName1: 'Jordan Smith',
cardExpiry: '31-12-2026',
cardNumber: '1234567890',
cardType: 'G',
individualRefNumber: 1,
dob: '15-03-1990'
})
};
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough', 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://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough",
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([
'fullName1' => 'Jordan Smith',
'cardExpiry' => '31-12-2026',
'cardNumber' => '1234567890',
'cardType' => 'G',
'individualRefNumber' => 1,
'dob' => '15-03-1990'
]),
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://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough"
payload := strings.NewReader("{\n \"fullName1\": \"Jordan Smith\",\n \"cardExpiry\": \"31-12-2026\",\n \"cardNumber\": \"1234567890\",\n \"cardType\": \"G\",\n \"individualRefNumber\": 1,\n \"dob\": \"15-03-1990\"\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://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fullName1\": \"Jordan Smith\",\n \"cardExpiry\": \"31-12-2026\",\n \"cardNumber\": \"1234567890\",\n \"cardType\": \"G\",\n \"individualRefNumber\": 1,\n \"dob\": \"15-03-1990\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/australia-medicare-card-passthrough")
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 \"fullName1\": \"Jordan Smith\",\n \"cardExpiry\": \"31-12-2026\",\n \"cardNumber\": \"1234567890\",\n \"cardType\": \"G\",\n \"individualRefNumber\": 1,\n \"dob\": \"15-03-1990\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Australia Medicare Card processed successfully",
"data": {
"isValid": true
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"transactionId": "79b6f81c-fc48-42ce-b907-763129b0957e",
"verificationType": "australia_medicare_card",
"metadata": {
"yourRef": "testCase-9002"
},
"createdAt": "2026-08-27 02:49:30+0000"
}Reading the result
Checkdata.isValid to determine whether the submitted details match the issuing agency’s records. A no-match still returns HTTP 200 with success: true — see Introduction to Australia DVS for how to interpret verificationStatus.
Sandbox test data
Medicare Card sandbox payloads
Authorizations
Use your API token as a Bearer token in the Authorization header.
Headers
"Bearer {your_api_token}"
Body
First full name on the card.
Card expiry date in DD-MM-YYYY format.
"31-12-2026"
Medicare card number.
Medicare card type (G, B, or Y).
G, B, Y "G"
Individual reference number printed on the card.
1
Date of birth in DD-MM-YYYY format.
"15-03-1990"
Second full name on the card, if any.
Third full name on the card, if any.
Fourth full name on the card, if any.
Optional key-value pairs echoed back in the response.
Response
Request processed. Check data.isValid and verificationStatus to determine the outcome.
Show child attributes
Show child attributes
VERIFIED, REJECTED 3 = Verified, 1 = Rejected.
"australia_medicare_card"

