putInvoicesId
Update an Invoice. An Invoice resource is used for invoicing customers, email the invoice to them, allow them to pay the invoice and track payments with invoices.
In: header
Path Parameters
The ID of this invoice.
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Request Body
application/json
Update Invoice Request
Update Invoice Request
The identifier of the Login of this invoice resource.
The identifier of the Merchant of this invoice resource.
The identifier of the Customer of this invoice resource.
The identifier of the Subscription of this invoice resource.
The methods of payment allowed for this invoice. This field accepts multiple options concatenated into a single string with a pipe (|) separator between each option.
Amex- American ExpressVisa- Visa cardMc- MasterCardDiners- Diners Club cardDiscover- Discover cardPayPal- PayPal payment methodDebit- Debit cardChecking- Checking accountSavings- Savings accountCorpChecking- Corporate checking accountCorpSavings- Corporate savings accountGift- Gift cardEBT- Electronic Benefits TransferWIC- Women, Infants, and Children programAccel- Accel networkATH- ATH networkAFFN- Armed Forces Financial NetworkCuliance- Culiance networkInterlink- Interlink networkJeanie- Jeanie networkMaestro- Maestro cardNYCE- NYCE networkPulse- Pulse networkShazam- Shazam networkStar- Star networkInterac- Interac networkOmnitoken- Omnitoken
The title of the invoice.
The message that will be sent with the invoice.
The total amount for this invoice.
The tax amount for this invoice.
The discount amount applied to this invoice.
The date the invoice is due.
The date the invoice is due.
The date to send this invoice.
The current status of the transaction.
Value in
- "pending"
- "cancelled"
- "expired"
- "viewed"
- "paid"
- "confirmed"
- "refunded"
- "rejected"
The current status of the invoice.
send- Updated email status to indicate the invoice is ready to be sent to the customer.sent- Updated email status once the invoice is sent to the customer.pending- Updated email status pending
Value in
- "send"
- "sent"
- "pending"
The email addresses to send the invoice to.
The type of invoice.
single- A single-use invoice.multiUse- A static, reusable invoice. (Payment Page.)recurring- A subscription-based invoice.
Value in
- "single"
- "multiUse"
- "recurring"
Whether this resource is marked as inactive.
0- Active1- Inactive
Value in
- 0
- 1
Whether this resource is marked as frozen.
0- Not Frozen1- Frozen
Value in
- 0
- 1
Response Body
application/json
application/json
curl -X PUT "https://example.com/invoices/t1_inv_00b3a1f7e418cd6e378d410" \ -H "Content-Type: application/json" \ -d '{ "login": "t1_log_0092b50e1112b18e41d521e", "merchant": "t1_mer_008e7f511d5c5a2d2fade82", "customer": "t1_cus_00b39e97b2110ba9075dfda", "subscription": "t1_sbn_00fc6fxx7a871bbce685897", "title": "Test Invoice Alert", "message": "Testing the invoice alerts", "emails": "erik@test.com", "total": 100, "tax": 1000, "discount": 1000, "type": "single", "status": "paid", "dueDate": 20250217, "expirationDate": 20250217, "sendOn": 20250217, "emailStatus": "pending", "inactive": 0, "frozen": 0, "allowedPaymentMethods": "visa" }'{ "response": { "data": [ { "id": "t1_act_67a18bcde1a1b2ec3d9c9az", "created": "2025-01-31 08:42:16.7318", "modified": "2025-01-31 08:42:16.7318", "creator": "t1_log_0092b50e8812b18e41d511s", "modifier": "t1_log_0092b50e8812b18e41d511s", "login": "t1_log_0092b50e1112b18e41d521e", "merchant": "t1_mer_008e7f511d5c5a2d2fade82", "customer": "t1_cus_00b39e97b2110ba9075dfda", "subscription": "t1_sbn_00fc6fxx7a871bbce685897", "number": "10", "title": "Test Invoice Alert", "message": "Testing the invoice alerts", "emails": "erik@test.com", "total": 100, "tax": 1000, "discount": 1000, "type": "single", "status": "paid", "dueDate": 20250217, "expirationDate": 20250217, "sendOn": 20250217, "emailStatus": "pending", "inactive": 0, "frozen": 0, "allowedPaymentMethods": "visa" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}deleteInvoicesId DELETE
Delete an Invoice or use it for invoicing customers, email the invoice to them, allow them to pay the invoice and track payments with invoices.
getInvoices GET
Query an Invoice or query an Invoice. An Invoice resource is used for invoicing customers, email the invoice to them, allow them to pay the invoice and track payments with invoices.
