Request Object
{
"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",
"business_name": "Jay Inc",
"additional_info": "This is the billing Info",
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
}
}
],
"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"
},
"tax": {
"percent": 1,
"name": "Local Tax on Sutures"
}
},
{
"name": "Injection",
"quantity": 5,
"unit_price": {
"currency": "USD",
"value": "5"
},
"tax": {
"percent": 3,
"name": "Local Tax on Injection"
}
}
],
"logo_url": "https://www.paypalobjects.com/webstatic/i/logo/rebrand/ppcom.svg"
}
Response Object
{
"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",
"business_name": "Jay Inc",
"address": {
"line1": "1234 Main St.",
"city": "Portland",
"state": "OR",
"postal_code": "97217",
"country_code": "US"
},
"additional_info": "This is the billing Info"
}
],
"note": "Medical Invoice 16 Jul, 2013 PST",
"payment_term": {
"term_type": "NET_45",
"due_date": "2025-02-07 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"
},
"tax": {
"name": "Local Tax on Sutures",
"percent": 1,
"amount": {
"currency": "USD",
"value": "5.00"
}
}
},
{
"name": "Injection",
"quantity": 5,
"unit_price": {
"currency": "USD",
"value": "5.00"
},
"tax": {
"name": "Local Tax on Injection",
"percent": 3,
"amount": {
"currency": "USD",
"value": "0.75"
}
}
}
],
"logo_url": "https://www.paypalobjects.com/webstatic/i/logo/rebrand/ppcom.svg",
"id": "INV2-WUY3-GGGN-2BBX-BL2N",
"number": "INV-1734020105",
"template_id": "TEMP-2951065150453822S",
"status": "DRAFT",
"invoice_date": "2024-12-24 PST",
"total_amount": {
"currency": "USD",
"value": "530.75"
},
"metadata": {
"created_date": "2024-12-24 22:37:04 PST"
},
"links": [
{
"rel": "self",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-WUY3-GGGN-2BBX-BL2N",
"method": "GET"
},
{
"rel": "send",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-WUY3-GGGN-2BBX-BL2N/send",
"method": "POST"
},
{
"rel": "replace",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-WUY3-GGGN-2BBX-BL2N/update",
"method": "PUT"
},
{
"rel": "delete",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-WUY3-GGGN-2BBX-BL2N",
"method": "DELETE"
},
{
"rel": "record-payment",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-WUY3-GGGN-2BBX-BL2N/record-payment",
"method": "POST"
}
]
}