Receipt Events
curl --request POST \
--url https://{partner_host}/registered_url_for_receipt_events \
--header 'Content-Type: application/json' \
--data '
{
"event": "receipt.created",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"receipt_id": 2579,
"aid": "d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8",
"doctor_oid": "161467756044203",
"clinic_id": "60b0ee0c0b5804795509aefb",
"patient_oid": "176345969121476",
"created_at": 1763476917560,
"updated_at": 1763476917560,
"receipt_number": null,
"receipt_url": "https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf",
"receipt_status": "SUCCESS",
"receipt_amount": 120,
"additional_discount_value": 10,
"additional_discount_type": "AMOUNT",
"additional_discount_amount": 10,
"net_amount": 120,
"name": "gc baby normal",
"mobile": "+919008888888",
"flavour": null,
"sku_discount_amount": 10,
"amount_due": 10,
"archive": 0,
"remarks": "",
"ref_trx_id": "",
"payment_id": "ret-dfwef-dsfsd-fwefdsf",
"payment_link": "https://example.link.com",
"amount_paid": 10,
"actor": "doctor"
}
}
'import requests
url = "https://{partner_host}/registered_url_for_receipt_events"
payload = {
"event": "receipt.created",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"receipt_id": 2579,
"aid": "d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8",
"doctor_oid": "161467756044203",
"clinic_id": "60b0ee0c0b5804795509aefb",
"patient_oid": "176345969121476",
"created_at": 1763476917560,
"updated_at": 1763476917560,
"receipt_number": None,
"receipt_url": "https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf",
"receipt_status": "SUCCESS",
"receipt_amount": 120,
"additional_discount_value": 10,
"additional_discount_type": "AMOUNT",
"additional_discount_amount": 10,
"net_amount": 120,
"name": "gc baby normal",
"mobile": "+919008888888",
"flavour": None,
"sku_discount_amount": 10,
"amount_due": 10,
"archive": 0,
"remarks": "",
"ref_trx_id": "",
"payment_id": "ret-dfwef-dsfsd-fwefdsf",
"payment_link": "https://example.link.com",
"amount_paid": 10,
"actor": "doctor"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'receipt.created',
event_time: 1730189586,
timestamp: 1730189586,
client_id: '67978400352a61001d64e9fb',
business_id: '174159057718553',
data: {
receipt_id: 2579,
aid: 'd-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8',
doctor_oid: '161467756044203',
clinic_id: '60b0ee0c0b5804795509aefb',
patient_oid: '176345969121476',
created_at: 1763476917560,
updated_at: 1763476917560,
receipt_number: null,
receipt_url: 'https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf',
receipt_status: 'SUCCESS',
receipt_amount: 120,
additional_discount_value: 10,
additional_discount_type: 'AMOUNT',
additional_discount_amount: 10,
net_amount: 120,
name: 'gc baby normal',
mobile: '+919008888888',
flavour: null,
sku_discount_amount: 10,
amount_due: 10,
archive: 0,
remarks: '',
ref_trx_id: '',
payment_id: 'ret-dfwef-dsfsd-fwefdsf',
payment_link: 'https://example.link.com',
amount_paid: 10,
actor: 'doctor'
}
})
};
fetch('https://{partner_host}/registered_url_for_receipt_events', 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://{partner_host}/registered_url_for_receipt_events",
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([
'event' => 'receipt.created',
'event_time' => 1730189586,
'timestamp' => 1730189586,
'client_id' => '67978400352a61001d64e9fb',
'business_id' => '174159057718553',
'data' => [
'receipt_id' => 2579,
'aid' => 'd-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8',
'doctor_oid' => '161467756044203',
'clinic_id' => '60b0ee0c0b5804795509aefb',
'patient_oid' => '176345969121476',
'created_at' => 1763476917560,
'updated_at' => 1763476917560,
'receipt_number' => null,
'receipt_url' => 'https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf',
'receipt_status' => 'SUCCESS',
'receipt_amount' => 120,
'additional_discount_value' => 10,
'additional_discount_type' => 'AMOUNT',
'additional_discount_amount' => 10,
'net_amount' => 120,
'name' => 'gc baby normal',
'mobile' => '+919008888888',
'flavour' => null,
'sku_discount_amount' => 10,
'amount_due' => 10,
'archive' => 0,
'remarks' => '',
'ref_trx_id' => '',
'payment_id' => 'ret-dfwef-dsfsd-fwefdsf',
'payment_link' => 'https://example.link.com',
'amount_paid' => 10,
'actor' => 'doctor'
]
]),
CURLOPT_HTTPHEADER => [
"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://{partner_host}/registered_url_for_receipt_events"
payload := strings.NewReader("{\n \"event\": \"receipt.created\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"receipt_id\": 2579,\n \"aid\": \"d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8\",\n \"doctor_oid\": \"161467756044203\",\n \"clinic_id\": \"60b0ee0c0b5804795509aefb\",\n \"patient_oid\": \"176345969121476\",\n \"created_at\": 1763476917560,\n \"updated_at\": 1763476917560,\n \"receipt_number\": null,\n \"receipt_url\": \"https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf\",\n \"receipt_status\": \"SUCCESS\",\n \"receipt_amount\": 120,\n \"additional_discount_value\": 10,\n \"additional_discount_type\": \"AMOUNT\",\n \"additional_discount_amount\": 10,\n \"net_amount\": 120,\n \"name\": \"gc baby normal\",\n \"mobile\": \"+919008888888\",\n \"flavour\": null,\n \"sku_discount_amount\": 10,\n \"amount_due\": 10,\n \"archive\": 0,\n \"remarks\": \"\",\n \"ref_trx_id\": \"\",\n \"payment_id\": \"ret-dfwef-dsfsd-fwefdsf\",\n \"payment_link\": \"https://example.link.com\",\n \"amount_paid\": 10,\n \"actor\": \"doctor\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://{partner_host}/registered_url_for_receipt_events")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"receipt.created\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"receipt_id\": 2579,\n \"aid\": \"d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8\",\n \"doctor_oid\": \"161467756044203\",\n \"clinic_id\": \"60b0ee0c0b5804795509aefb\",\n \"patient_oid\": \"176345969121476\",\n \"created_at\": 1763476917560,\n \"updated_at\": 1763476917560,\n \"receipt_number\": null,\n \"receipt_url\": \"https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf\",\n \"receipt_status\": \"SUCCESS\",\n \"receipt_amount\": 120,\n \"additional_discount_value\": 10,\n \"additional_discount_type\": \"AMOUNT\",\n \"additional_discount_amount\": 10,\n \"net_amount\": 120,\n \"name\": \"gc baby normal\",\n \"mobile\": \"+919008888888\",\n \"flavour\": null,\n \"sku_discount_amount\": 10,\n \"amount_due\": 10,\n \"archive\": 0,\n \"remarks\": \"\",\n \"ref_trx_id\": \"\",\n \"payment_id\": \"ret-dfwef-dsfsd-fwefdsf\",\n \"payment_link\": \"https://example.link.com\",\n \"amount_paid\": 10,\n \"actor\": \"doctor\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{partner_host}/registered_url_for_receipt_events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"receipt.created\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"receipt_id\": 2579,\n \"aid\": \"d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8\",\n \"doctor_oid\": \"161467756044203\",\n \"clinic_id\": \"60b0ee0c0b5804795509aefb\",\n \"patient_oid\": \"176345969121476\",\n \"created_at\": 1763476917560,\n \"updated_at\": 1763476917560,\n \"receipt_number\": null,\n \"receipt_url\": \"https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf\",\n \"receipt_status\": \"SUCCESS\",\n \"receipt_amount\": 120,\n \"additional_discount_value\": 10,\n \"additional_discount_type\": \"AMOUNT\",\n \"additional_discount_amount\": 10,\n \"net_amount\": 120,\n \"name\": \"gc baby normal\",\n \"mobile\": \"+919008888888\",\n \"flavour\": null,\n \"sku_discount_amount\": 10,\n \"amount_due\": 10,\n \"archive\": 0,\n \"remarks\": \"\",\n \"ref_trx_id\": \"\",\n \"payment_id\": \"ret-dfwef-dsfsd-fwefdsf\",\n \"payment_link\": \"https://example.link.com\",\n \"amount_paid\": 10,\n \"actor\": \"doctor\"\n }\n}"
response = http.request(request)
puts response.read_bodyReceipt
Receipt Events
When a Receipt is created, updated or deleted, a webhook is sent to the registered endpoint containing the Doctor Id, Patient Id, Clinic Id etc. The receiving system can use these details as per their need.
POST
/
registered_url_for_receipt_events
Receipt Events
curl --request POST \
--url https://{partner_host}/registered_url_for_receipt_events \
--header 'Content-Type: application/json' \
--data '
{
"event": "receipt.created",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"receipt_id": 2579,
"aid": "d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8",
"doctor_oid": "161467756044203",
"clinic_id": "60b0ee0c0b5804795509aefb",
"patient_oid": "176345969121476",
"created_at": 1763476917560,
"updated_at": 1763476917560,
"receipt_number": null,
"receipt_url": "https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf",
"receipt_status": "SUCCESS",
"receipt_amount": 120,
"additional_discount_value": 10,
"additional_discount_type": "AMOUNT",
"additional_discount_amount": 10,
"net_amount": 120,
"name": "gc baby normal",
"mobile": "+919008888888",
"flavour": null,
"sku_discount_amount": 10,
"amount_due": 10,
"archive": 0,
"remarks": "",
"ref_trx_id": "",
"payment_id": "ret-dfwef-dsfsd-fwefdsf",
"payment_link": "https://example.link.com",
"amount_paid": 10,
"actor": "doctor"
}
}
'import requests
url = "https://{partner_host}/registered_url_for_receipt_events"
payload = {
"event": "receipt.created",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"receipt_id": 2579,
"aid": "d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8",
"doctor_oid": "161467756044203",
"clinic_id": "60b0ee0c0b5804795509aefb",
"patient_oid": "176345969121476",
"created_at": 1763476917560,
"updated_at": 1763476917560,
"receipt_number": None,
"receipt_url": "https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf",
"receipt_status": "SUCCESS",
"receipt_amount": 120,
"additional_discount_value": 10,
"additional_discount_type": "AMOUNT",
"additional_discount_amount": 10,
"net_amount": 120,
"name": "gc baby normal",
"mobile": "+919008888888",
"flavour": None,
"sku_discount_amount": 10,
"amount_due": 10,
"archive": 0,
"remarks": "",
"ref_trx_id": "",
"payment_id": "ret-dfwef-dsfsd-fwefdsf",
"payment_link": "https://example.link.com",
"amount_paid": 10,
"actor": "doctor"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'receipt.created',
event_time: 1730189586,
timestamp: 1730189586,
client_id: '67978400352a61001d64e9fb',
business_id: '174159057718553',
data: {
receipt_id: 2579,
aid: 'd-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8',
doctor_oid: '161467756044203',
clinic_id: '60b0ee0c0b5804795509aefb',
patient_oid: '176345969121476',
created_at: 1763476917560,
updated_at: 1763476917560,
receipt_number: null,
receipt_url: 'https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf',
receipt_status: 'SUCCESS',
receipt_amount: 120,
additional_discount_value: 10,
additional_discount_type: 'AMOUNT',
additional_discount_amount: 10,
net_amount: 120,
name: 'gc baby normal',
mobile: '+919008888888',
flavour: null,
sku_discount_amount: 10,
amount_due: 10,
archive: 0,
remarks: '',
ref_trx_id: '',
payment_id: 'ret-dfwef-dsfsd-fwefdsf',
payment_link: 'https://example.link.com',
amount_paid: 10,
actor: 'doctor'
}
})
};
fetch('https://{partner_host}/registered_url_for_receipt_events', 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://{partner_host}/registered_url_for_receipt_events",
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([
'event' => 'receipt.created',
'event_time' => 1730189586,
'timestamp' => 1730189586,
'client_id' => '67978400352a61001d64e9fb',
'business_id' => '174159057718553',
'data' => [
'receipt_id' => 2579,
'aid' => 'd-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8',
'doctor_oid' => '161467756044203',
'clinic_id' => '60b0ee0c0b5804795509aefb',
'patient_oid' => '176345969121476',
'created_at' => 1763476917560,
'updated_at' => 1763476917560,
'receipt_number' => null,
'receipt_url' => 'https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf',
'receipt_status' => 'SUCCESS',
'receipt_amount' => 120,
'additional_discount_value' => 10,
'additional_discount_type' => 'AMOUNT',
'additional_discount_amount' => 10,
'net_amount' => 120,
'name' => 'gc baby normal',
'mobile' => '+919008888888',
'flavour' => null,
'sku_discount_amount' => 10,
'amount_due' => 10,
'archive' => 0,
'remarks' => '',
'ref_trx_id' => '',
'payment_id' => 'ret-dfwef-dsfsd-fwefdsf',
'payment_link' => 'https://example.link.com',
'amount_paid' => 10,
'actor' => 'doctor'
]
]),
CURLOPT_HTTPHEADER => [
"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://{partner_host}/registered_url_for_receipt_events"
payload := strings.NewReader("{\n \"event\": \"receipt.created\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"receipt_id\": 2579,\n \"aid\": \"d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8\",\n \"doctor_oid\": \"161467756044203\",\n \"clinic_id\": \"60b0ee0c0b5804795509aefb\",\n \"patient_oid\": \"176345969121476\",\n \"created_at\": 1763476917560,\n \"updated_at\": 1763476917560,\n \"receipt_number\": null,\n \"receipt_url\": \"https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf\",\n \"receipt_status\": \"SUCCESS\",\n \"receipt_amount\": 120,\n \"additional_discount_value\": 10,\n \"additional_discount_type\": \"AMOUNT\",\n \"additional_discount_amount\": 10,\n \"net_amount\": 120,\n \"name\": \"gc baby normal\",\n \"mobile\": \"+919008888888\",\n \"flavour\": null,\n \"sku_discount_amount\": 10,\n \"amount_due\": 10,\n \"archive\": 0,\n \"remarks\": \"\",\n \"ref_trx_id\": \"\",\n \"payment_id\": \"ret-dfwef-dsfsd-fwefdsf\",\n \"payment_link\": \"https://example.link.com\",\n \"amount_paid\": 10,\n \"actor\": \"doctor\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://{partner_host}/registered_url_for_receipt_events")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"receipt.created\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"receipt_id\": 2579,\n \"aid\": \"d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8\",\n \"doctor_oid\": \"161467756044203\",\n \"clinic_id\": \"60b0ee0c0b5804795509aefb\",\n \"patient_oid\": \"176345969121476\",\n \"created_at\": 1763476917560,\n \"updated_at\": 1763476917560,\n \"receipt_number\": null,\n \"receipt_url\": \"https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf\",\n \"receipt_status\": \"SUCCESS\",\n \"receipt_amount\": 120,\n \"additional_discount_value\": 10,\n \"additional_discount_type\": \"AMOUNT\",\n \"additional_discount_amount\": 10,\n \"net_amount\": 120,\n \"name\": \"gc baby normal\",\n \"mobile\": \"+919008888888\",\n \"flavour\": null,\n \"sku_discount_amount\": 10,\n \"amount_due\": 10,\n \"archive\": 0,\n \"remarks\": \"\",\n \"ref_trx_id\": \"\",\n \"payment_id\": \"ret-dfwef-dsfsd-fwefdsf\",\n \"payment_link\": \"https://example.link.com\",\n \"amount_paid\": 10,\n \"actor\": \"doctor\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{partner_host}/registered_url_for_receipt_events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"receipt.created\",\n \"event_time\": 1730189586,\n \"timestamp\": 1730189586,\n \"client_id\": \"67978400352a61001d64e9fb\",\n \"business_id\": \"174159057718553\",\n \"data\": {\n \"receipt_id\": 2579,\n \"aid\": \"d-75f3dcf1-5de3-40fc-8ccd-f42c8d54e8e8\",\n \"doctor_oid\": \"161467756044203\",\n \"clinic_id\": \"60b0ee0c0b5804795509aefb\",\n \"patient_oid\": \"176345969121476\",\n \"created_at\": 1763476917560,\n \"updated_at\": 1763476917560,\n \"receipt_number\": null,\n \"receipt_url\": \"https://doc-receipt.s3.ap-south-1.amazonaws.com/v2/b-161467756044203/161467756044203/60b0ee0c0b5804795509aefb/1763476916985.pdf\",\n \"receipt_status\": \"SUCCESS\",\n \"receipt_amount\": 120,\n \"additional_discount_value\": 10,\n \"additional_discount_type\": \"AMOUNT\",\n \"additional_discount_amount\": 10,\n \"net_amount\": 120,\n \"name\": \"gc baby normal\",\n \"mobile\": \"+919008888888\",\n \"flavour\": null,\n \"sku_discount_amount\": 10,\n \"amount_due\": 10,\n \"archive\": 0,\n \"remarks\": \"\",\n \"ref_trx_id\": \"\",\n \"payment_id\": \"ret-dfwef-dsfsd-fwefdsf\",\n \"payment_link\": \"https://example.link.com\",\n \"amount_paid\": 10,\n \"actor\": \"doctor\"\n }\n}"
response = http.request(request)
puts response.read_bodyBody
application/json
Type of event
Available options:
receipt.created, receipt.updated, receipt.deleted Example:
"receipt.created"
Event occurred timestamp
Example:
1730189586
Timestamp of the event
Example:
1730189586
Client ID for the schedule
Example:
"67978400352a61001d64e9fb"
Business ID for the schedule
Example:
"174159057718553"
Show child attributes
Show child attributes
Was this page helpful?
⌘I

