Invoice
Create Invoice
Creating A New Invoice
Base URL: https://api.budpay.com/api/v2
Endpoint: create_invoice
Method: POST
Post Parameters
Param | Type | Required? | Decription |
---|---|---|---|
title | string | Yes | This is the title of the invoice |
duedate | string | Yes | This is the due date of the invoice eg "YYYY-MM-DD" |
currency | string | Yes | NGN |
invoicenumber | string | no | This is the invoice reference number |
reminder | string | no | This is a random string |
string | Yes | Payer's Email | |
first_name | string | optional but neccessary | Payer's first name |
last_name | string | optional but neccessary | Payer's last name |
billing_address | string | yes | Invoice Address. eg: "12, Wales Street, Mark Boulevard" |
billing_city | string | yes | Invoice Billing City. eg "Ikeja" |
billing_state | string | yes | Invoice Billing State. eg "Lagos" |
billing_country | string | yes | Invoice Billing Country. eg "Nigeria" |
billing_zip_code | string | yes | Invoice Billing Country. eg "Nigeria" |
billing_zip_code | string | yes | Invoice Billing Zip Code. eg "234" |
items | array | yes | An array of objects containing the invoice items |