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"
}
],
"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"
}
}
]
}
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"
}
],
"note": "Medical Invoice 16 Jul, 2013 PST",
"payment_term": {
"term_type": "NET_45",
"due_date": "2025-02-05 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-HD67-DETV-49LF-TN9J",
"number": "INV-1734019736",
"template_id": "TEMP-2951065150453822S",
"status": "DRAFT",
"invoice_date": "2024-12-22 PST",
"total_amount": {
"currency": "USD",
"value": "525.00"
},
"metadata": {
"created_date": "2024-12-22 04:05:50 PST"
},
"links": [
{
"rel": "self",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-HD67-DETV-49LF-TN9J",
"method": "GET"
},
{
"rel": "send",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-HD67-DETV-49LF-TN9J/send",
"method": "POST"
},
{
"rel": "replace",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-HD67-DETV-49LF-TN9J/update",
"method": "PUT"
},
{
"rel": "delete",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-HD67-DETV-49LF-TN9J",
"method": "DELETE"
},
{
"rel": "record-payment",
"href": "https://api.sandbox.paypal.com/v1/invoicing/invoices/INV2-HD67-DETV-49LF-TN9J/record-payment",
"method": "POST"
}
]
}