API v1.0.0

Description

Run in Postman or View Postman docs

Quickstart

Visit github to view the quickstart tutorial.

Tutorial for running the API in postman

Click on ““Run in Postman”” button

postman - tutorial - 1


A new page will open. Click the ““Postman for windows”” to run postman as a desktop app. Make sure you have already installed Postman.

postman - tutorial - 2


In chrome an alert might show up to set a default app for opening postman links. Click on ““Open Postman””.

postman - tutorial - 3


The OpenAPI specification will be imported in Postman as a new collection named ““Envoice api””

postman - tutorial - 4


When testing be sure to check and modify the environment variables to suit your api key and secret. The domain is set to envoice’s endpoint so you don’t really need to change that.
*Eye button in top right corner

postman - tutorial - 5

postman - tutorial - 6


You don’t need to change the values of the header parameters, because they will be replaced automatically when you send a request with real values from the environment configured in the previous step.

postman - tutorial - 7


Modify the example data to suit your needs and send a request.

postman - tutorial - 8

Webhooks

Webhooks allow you to build or set up Envoice Apps which subscribe to invoice activities. When one of those events is triggered, we’ll send a HTTP POST payload to the webhook’s configured URL. Webhooks can be used to update an external invoice data storage.

In order to use webhooks visit this link and add upto 10 webhook urls that will return status 200 in order to signal that the webhook is working. All nonworking webhooks will be ignored after a certain period of time and several retry attempts. If after several attempts the webhook starts to work, we will send you all activities, both past and present, in chronological order.

The payload of the webhook is in format:

{
    Signature: ""sha256 string"",
    Timestamp: ""YYYY-MM-DDTHH:mm:ss.FFFFFFFZ"",
    Activity: {
        Message: "string",
        Link: "share url",
        Type: int,        
        InvoiceNumber: "string",
        InvoiceId: int,        
        OrderNumber: "string",
        OrderId: int,
        Id: int,
        CreatedOn: "YYYY-MM-DDTHH:mm:ss.FFFFFFFZ"
    }
}

Use this page to mock API v1.0.0 in your testing and development.

Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of API v1.0.0, which will allow you to keep building and testing even if the actual API you isn't currently available.

Related mocks

Cnab Online

Processe arquivos de retorno CNAB

NOWPayments API

NOWPayments is a non-custodial

BIN Lookup API

BIN lookup API, the free api service

TokenJay API services

Please see usage policies on

Portfolio Optimizer

Portfolio Optimizer is a Web API to

PocketSmith

The PocketSmith API

Ready to accelerate your development flow

Shorter release cycles, more predictable schedules and fewer defects in production.
Start Mocking for Free *Free forever. No credit card needed