Development tools

Postman Starter

Initial collection to speed up local testing, organize variables and put the first IOPAY request into operation.

The following table is inserted:Postman The following is the list of the categories of products:
AuthBearer
IncludesPIX · initial request

Overview

The collection uses Bearer authentication and a base variable URL. Use it for initial testing.

Auth

iopay_token

Variable used as a Bearer token by the collection.

Base endpoint

base_url

Initial value set as https://api.iopay.com.br.

Imported

  1. Download the JSON file from this page.
  2. No Postman, use Imported and select the collection.
  3. Set up iopay_token the environment/collection.
  4. Reviewed base_url before you execute requests.
  5. Compare endpoint and schema with the current API Base.

Other

VariableThe following is the list of the following items:Use
iopay_tokenDefined by youBearer token of the collection.
base_urlhttps://api.iopay.com.brBased on the calls.

Request included

The Starter version provided today includes a request for Pix. The file uses POST {{base_url}}/v2/transactions And a simple payload for the initial tests.

Current body of the collection
{
  "amount": 24990,
  "method": "pix",
  "reference_id": "pedido_84217"
}
Watch the version. This Starter collection carries an example in /v2/transactions. Before using in production, compare the endpoint and the scheme with the API Base that is in place at the time of integration.

Recommended use

  • Create separate environments for sandbox and production.
  • Add requests per resource as integration evolves.
  • Includes automatic status and essential field tests.
  • Never ever version real tokens with JSON.
  • Variable documents owned by marketplace, seller and Split.