All responses to requests to BIPS API endpoint version 2 listed under Versions, will be returned in the same type of JSON encoded envelope structure. This document describes how that envelope works and what it may contain.
When you generate an invoice, it is posted, so it cannot be deleted. If you need to cancel an invoice, you can void it. After you void an invoice, the customer will be refunded the original bitcoin amount minus network fees. Please read our Void Invoice Request API for making requests.
{
"status": 1,
"message": 'Success'
}
| status | On successful the status will always be 1 |
| message | Success |
| “status” | “message” |
| 2 | Invalid Invoice ID |
| 3 | Invalid Bitcoin Address |
| 4 | Void not possible |
| 5 | Timeframe expired |
| 6 | Insufficient funds |
This section was last updated on May 20, 2014 and replaces all previous versions of this document.