Single Invoice w/ Payment Gateway

POST https://api.freshbooks.com/accounting/account/{{accountId}}/invoices/invoices/{{invoiceid}}?include%5B%5D=allowed_gateways

Call an invoice and display the enabled gateway on that invoice.

Stripe = id: 26 | FBpay = id: 30 | PayPal = id: 7

Request Params

KeyDatatypeRequiredDescription
include%5B%5Dstring

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"response":{"result":{"invoice":{"accountid":"wkMd2g","accounting_systemid":"wkMd2g","address":"","allowed_gateways":[],"amount":{"amount":"180.00","code":"USD"},"auto_bill":false,"autobill_status":null,"basecampid":0,"city":"Toronto","code":"M6P 3T1","country":"","create_date":"2019-04-20","created_at":"2019-05-09 16:02:40","currency_code":"USD","current_organization":"Space Is Only Noise","customerid":92402,"date_paid":null,"deposit_amount":null,"deposit_percentage":null,"deposit_status":"none","description":"","discount_description":null,"discount_total":{"amount":"0.00","code":"USD"},"discount_value":"0","display_status":"draft","dispute_status":null,"due_date":"2019-04-20","due_offset_days":0,"estimateid":0,"ext_archive":0,"fname":"Nicholas","fulfillment_date":null,"generation_date":null,"gmail":false,"id":74888,"invoice_number":"0000029","invoiceid":74888,"language":"en","last_order_status":null,"lname":"Jaar","notes":"","organization":"Space Is Only Noise","outstanding":{"amount":"180.00","code":"USD"},"ownerid":1,"paid":{"amount":"0.00","code":"USD"},"parent":0,"payment_details":"","payment_status":"unpaid","po_number":null,"province":"Ontario","return_uri":null,"sentid":1,"show_attachments":true,"status":1,"street":"1655 Dupont St. W.","street2":"","template":"clean-grouped","terms":"","updated":"2019-05-09 16:02:41","v3_status":"draft","vat_name":"","vat_number":"","vis_state":0}}}}