This document includes sample data and responses. For more information on the JSON to be sent in the body of various requests, please refer to the request body (via the inspect manager) in your browser.
How To: Retrieve a Set of Invoices
GET: https://sandbox-apigateway.payfirma.com/invoice?limit=
...
"recipient_email": "eiusmod",
"sub_total": 52722642,
"support_email": "cupidatat nulla", "support_phone_number": "velit culpa quis",
"total": 75387860 }
] }
How To: Create a New Invoice
POST: https://sandbox-apigateway.payfirma.com/invoice
...
"amount":100, "discount":false
How To: Create a New Invoice (Draft)
POST: https://sandbox-apigateway.payfirma.com/invoice/draft
...
],
"recipient_email": "irure",
"sub_total": 33920695,
"support_email": "occaecat proident", "support_phone_number": "ullamco non", "total": 15477362,
"customer_id": -15595687,
"billing_state": "sit in esse", "business_address2": "sed consequat eiusmod"
} ]
}
How To: Retrieve a Specific Invoice
GET: https://sandbox-apigateway.payfirma.com/invoice/invoice_id_here
...
{
"email_address": "email_address_here" }
How To: Send an Email to a Specific Email Address
POST: https://sandbox-apigateway.payfirma.com/invoice/invoice_id_here/send/email_address_here
...