curl --request GET \
--url https://api.decodahealth.com/billing/payment-link/{patient_id} \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"charges": [
{
"id": "<string>",
"description": "<string>",
"status": "OUTSTANDING",
"total": 123,
"totalOutstanding": 123,
"discountAmount": 123,
"externalId": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
],
"patient": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"gcsFileUrl": "<string>",
"sandbox": true,
"merchantAccount": {
"cardProcessingFee": 123,
"perTransactionFee": 123,
"inPersonCardProcessingFee": 123,
"inPersonPerTransactionFee": 123
},
"sessionKey": "<string>",
"payinConfigId": "<string>",
"fee": 0
}
]curl --request GET \
--url https://api.decodahealth.com/billing/payment-link/{patient_id} \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"charges": [
{
"id": "<string>",
"description": "<string>",
"status": "OUTSTANDING",
"total": 123,
"totalOutstanding": 123,
"discountAmount": 123,
"externalId": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
],
"patient": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"gcsFileUrl": "<string>",
"sandbox": true,
"merchantAccount": {
"cardProcessingFee": 123,
"perTransactionFee": 123,
"inPersonCardProcessingFee": 123,
"inPersonPerTransactionFee": 123
},
"sessionKey": "<string>",
"payinConfigId": "<string>",
"fee": 0
}
]The tenant you are making this request on behalf of
Your api key
Successful Response
Show child attributes
OUTSTANDING, PAID, EXTERNAL_SETTLEMENT, VOID, WRITE_OFF, REFUNDED, CHARGEBACK, PAYMENT_PLAN, COLLECTIONS Public merchant account information.
Show child attributes
Card processing fee
Per transaction fee
In-person card processing fee
In-person per transaction fee