{
"merchant_info": {
"email": "jaypatel512-facilitator@hotmail.com",
"first_name": "Dennis",
"last_name": "Doctor",
"business_name": "Medical Professionals, LLC",
"phone": {
"country_code": "001",
"national_number": "5032141716"
},
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
}
},
"billing_info": [
{
"email": "example@example.com"
}
],
"note": "Medical Invoice 16 Jul, 2013 PST",
"payment_term": {
"term_type": "NET_45"
},
"shipping_info": {
"first_name": "Sally",
"last_name": "Patient",
"business_name": "Not applicable",
"phone": {
"country_code": "001",
"national_number": "5039871234"
},
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
}
},
"items": [
{
"name": "Sutures",
"quantity": 100,
"unit_price": {
"currency": "USD",
"value": "5"
}
},
{
"name": "Injection",
"quantity": 5,
"unit_price": {
"currency": "USD",
"value": "5"
}
}
]
}{
"merchant_info": {
"email": "jaypatel512-facilitator@hotmail.com",
"first_name": "Dennis",
"last_name": "Doctor",
"business_name": "Medical Professionals, LLC",
"phone": {
"country_code": "001",
"national_number": "5032141716"
},
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
}
},
"billing_info": [
{
"email": "example@example.com"
}
],
"note": "Medical Invoice 16 Jul, 2013 PST",
"payment_term": {
"term_type": "NET_45",
"due_date": "2025-12-19 PST"
},
"shipping_info": {
"first_name": "Sally",
"last_name": "Patient",
"business_name": "Not applicable",
"phone": {
"country_code": "001",
"national_number": "5039871234"
},
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
}
},
"items": [
{
"name": "Sutures",
"quantity": 100,
"unit_price": {
"currency": "USD",
"value": "5.00"
}
},
{
"name": "Injection",
"quantity": 5,
"unit_price": {
"currency": "USD",
"value": "5.00"
}
}
],
"id": "INV2-FXWZ-7R5H-HWUP-562G",
"number": "INV-20180727261527",
"template_id": "TEMP-2951065150453822S",
"status": "DRAFT",
"invoice_date": "2025-11-04 PST",
"total_amount": {
"currency": "USD",
"value": "525.00"
},
"metadata": {
"created_date": "2025-11-04 12:47:31 PST"
},
"links": [
{
"rel": "self",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G",
"method": "GET"
},
{
"rel": "send",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/send",
"method": "POST"
},
{
"rel": "replace",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/update",
"method": "PUT"
},
{
"rel": "delete",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G",
"method": "DELETE"
},
{
"rel": "record-payment",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/record-payment",
"method": "POST"
}
]
}INV2-FXWZ-7R5H-HWUP-562G
{
"id": "INV2-FXWZ-7R5H-HWUP-562G",
"number": "INV-20180727261527",
"template_id": "TEMP-2951065150453822S",
"status": "SENT",
"merchant_info": {
"email": "jaypatel512-facilitator@hotmail.com",
"first_name": "Dennis",
"last_name": "Doctor",
"business_name": "Medical Professionals, LLC",
"phone": {
"country_code": "001",
"national_number": "5032141716"
},
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
}
},
"billing_info": [
{
"email": "example@example.com"
}
],
"shipping_info": {
"first_name": "Sally",
"last_name": "Patient",
"business_name": "Not applicable",
"phone": {
"country_code": "001",
"national_number": "5039871234"
},
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
}
},
"items": [
{
"name": "Sutures",
"quantity": 100,
"unit_price": {
"currency": "USD",
"value": "5.00"
}
},
{
"name": "Injection",
"quantity": 5,
"unit_price": {
"currency": "USD",
"value": "5.00"
}
}
],
"invoice_date": "2025-11-04 PST",
"payment_term": {
"term_type": "NET_45",
"due_date": "2025-12-19 PST"
},
"note": "Medical Invoice 16 Jul, 2013 PST",
"total_amount": {
"currency": "USD",
"value": "525.00"
},
"metadata": {
"created_date": "2025-11-04 12:47:31 PST",
"first_sent_date": "2025-11-04 12:47:33 PST",
"last_sent_date": "2025-11-04 12:47:33 PST",
"payer_view_url": "https://www.sandbox.paypal.com/invoice/p/#INV2-FXWZ-7R5H-HWUP-562G"
},
"links": [
{
"rel": "self",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G",
"method": "GET"
},
{
"rel": "replace",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/update",
"method": "PUT"
},
{
"rel": "cancel",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/cancel",
"method": "POST"
},
{
"rel": "remind",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/remind",
"method": "POST"
},
{
"rel": "record-payment",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/record-payment",
"method": "POST"
},
{
"rel": "qr-code",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-FXWZ-7R5H-HWUP-562G/qr-code",
"method": "GET"
}
]
}{
"method": "CASH",
"date": "2014-07-06 03:30:00 PST",
"note": "Cash received."
}INV2-FXWZ-7R5H-HWUP-562G
Method PayPal\Api\PaymentDetail::getAmount() does not exist
No Data