You can also create an invoice from a transaction created on the Create a transaction/tax calculation or Create a refund API endpoint.
The transaction or refund needs to be in "pending" status.
Once the invoice is created, you can Update a transaction or Update a refund with the invoice information.
Send the following parameter on the request body:
Parameter | Type | Description |
---|---|---|
transaction_id | String | Id of the transaction to create the invoice for. The transaction must be on a "pending" status. |
refund_id | String | Id of the refund to create the invoice for. The refund must be on a "pending" status. |