InfraPSP Docs (v1)

Download OpenAPI specification:Download

Introduction

Welcome to InfraPSP API documentation. This API is used to interact with the InfraPSP services.

Security

This API uses the following security schemes for the authorization header:

Authorization: Bearer {apiKey}.{apiSecret}

Authorization: Basic {apiKey}:{apiSecret}

Authorization: Bearer {jwtToken}

To firstly get your API Key pair (Key + Secret), you must create it through the dashboard or via API endpoint (see Auth section for more details).

Field {apiKey} refers to the key value from the api key, and {apiSecret} is the secret part. The later can only be seen in the response of the api key creation, so keep it safe as it is not recoverable. You can also use the {jwtToken} issued after logging through the dashboard.

Time zones

Our APIs works only with UTC time zone. Make sure you are converting your date inputs to UTC before sending.

Ex: If you are at São Paulo/Brazil (UTC -03:00) and want to create a pix transaction that expires at the end of December 31th 2024, you need to send this date as 2024-01-01T02:59:59.999Z as it is the representation of the desired date on UTC time zone.

Currency values

All currency values in our APIs are treated as cents. This includes transaction amounts, transfer values, splits, items, shipping values, balance, and so on. Remember to multiply the value by 100 before sending it through the endpoints. For example, an $100 amount would be represented by 10000 and should be sent this way.

Date range queries

A large portion of the listing APIs support date range queries based on different fields depending on the entity. These queries have a range limit of 1 year. This means that a date range must be an interval that is less than or equal to 365 days, or else they will return error. This is also true for queries missing one or both values of the date range, as the values of gte and lte will default to now - 1 year and now respectively.

Error Schemas

Here we show schema and examples of expected errors that can be returned from our APIs in every request. All error responses comes with a code to identify the problem and a message describing the error. Additionally, sometimes the error response can contain more details about what happened during the request and why was not able to fullfil it.

Example for a 400 Bad Request error:

{
  "code": "API_ERROR",
  "message": "some api error",
  "detail": {
    "errors": [
      {
        "path": "parameterName"
      }
    ]
  }
}

Example for a 404 Not Found error:

{
  "code": "NOT_FOUND",
  "message": "not found"
}

Example for a 500 Internal Server Error error:

{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "internal server error"
}

Sandbox

The sandbox environment allows you to test API functionality with predictable behaviors based on specific input values. Use the following patterns to simulate different scenarios:

Pix Transactions

Payment Method Settings

Control transaction creation behavior using methodSettings.payerRequest:

Value Resulting Status Description
fail_on_create failed Transaction fails during creation at provider level

Transaction Amount

Control payment flow using the transaction amount value:

Value Pattern Resulting Status Description
Even numbers (e.g., 1010) paid Transaction is automatically paid. Last two digits represent delay in seconds
Odd numbers (e.g., 1001) failed Transaction is created but fails during processing

Examples:

  • Amount 1010: Transaction will be paid after 10 seconds
  • Amount 2020: Transaction will be paid after 20 seconds
  • Amount 1001: Transaction will fail immediately

Credit Card Transactions

Available Credit Cards

Only the cards listed below will work in sandbox tests. All others will result in a failed transaction.

Brand Card Number Expiry Date CVV
Mastercard 5448280000000007 01/35 123
Visa 4235647728025682 01/35 123
Elo 4389351648020055 01/35 123
Amex 371341553758128 01/35 1234
Elo 4389358876174389 01/35 123

Customer Document Number

Control authorization flow using customer.documentNumber:

Document Pattern Resulting Status Description
Ending in 1 or 3 (e.g., 95643732041) authorized Transaction is successfully authorized
Ending in 2 or 4 (e.g., 95643732042) failed Transaction authorization fails
Ending in any other digit (e.g., 95643732045) under_review Transaction goes to under review status

Transfers

Transfer Amount

Control transfer completion using the amount value:

Value Pattern Resulting Status Description
Even numbers (e.g., 1010) completed Transfer completes successfully. Last two digits represent delay in seconds
Odd numbers (e.g., 1001) failed Transfer is created but fails during processing

Examples:

  • Amount 1010: Transfer will complete after 10 seconds
  • Amount 3000: Transfer will complete immediately (0 seconds delay)
  • Amount 1501: Transfer will fail

Note: All amounts in the sandbox follow the same currency format as production (values in cents). The delay timing only applies to sandbox environment and is used for testing webhooks and status polling.

API Key

create an api key

create an api key

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
description
required
string
string or string or (any or null)

Responses

Request samples

Content type
application/json
{
  • "description": "API key for merchant",
  • "expiresAt": "2021-07-29T14:00:00Z"
}

Response samples

Content type
application/json
{
  • "id": "fn7mz9CCKNyS3FU4dm6bT",
  • "key": "ipsp_J4fUCKKoljfQgH7T3LFMK",
  • "description": "API key for merchant",
  • "expiresAt": "2021-07-29T14:00:00Z",
  • "createdAt": "2021-07-29T14:00:00Z"
}

find many api keys

find many api keys

Authorizations:
(bearerAuthbasicAuth)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

delete an api key

delete an api key

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Balance

find many operations

find many operations

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.050Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.050Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

payableId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: payableId=v1vvAMmAePFJdkAU073hc

filter the operations related to this payable id

method
string
Enum: "pix" "credit_card" "inter"
Example: method=pix

filter by the method that originated the operation

entity
string
Enum: "transaction" "transfer"
Example: entity=transaction

filter by the entity that originated the operation

status
Array of strings
Items Enum: "available" "waiting_funds"
Example: status=available

comma-separated list of pre transaction status

notStatus
Array of strings
Items Enum: "available" "waiting_funds"
Example: notStatus=available

comma-separated list of pre transaction status to not be included

sortField
string
Default: "createdAt"
Enum: "createdAt" "paymentDate"

field to be used to sort the results

sortOrder
string
Default: "desc"
Enum: "asc" "desc"
Example: sortOrder=desc

sort order

string or string
Example: paymentDateLte=2021-09-01T00:00:00.000Z

filter by payment date less than or equal to this date

string or string
Example: paymentDateGte=2021-09-01T00:00:00.000Z

filter by payment date greater than or equal to this date

Responses

Response samples

Content type
application/json
[
  • {
    }
]

find an operation by id

find an operation by id

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "zZebjp82qsenXXnu947f6",
  • "merchantId": "j9cQwAr3KXolCLSYWleOG",
  • "payableId": "v1vvAMmAePFJdkAU073hc",
  • "status": "available",
  • "amount": 1000,
  • "paymentDate": "2021-09-01T00:00:00.000Z",
  • "entity": "transaction",
  • "method": "pix",
  • "description": "TRX 20231231",
  • "createdAt": "2021-09-01T00:00:00.000Z"
}

generate statement

generate statement

Authorizations:
(bearerAuthbasicAuth)
query Parameters
format
required
string
Enum: "csv" "xlsx"
Example: format=csv

format of the file

string or string
Default: "2025-11-28T18:20:13.057Z"
Example: paymentDateLte=2021-09-01T00:00:00.000Z

payment date less than or equal to

string or string
Default: "2025-10-28T18:20:13.058Z"
Example: paymentDateGte=2021-09-01T00:00:00.000Z

payment date greater than or equal to

Responses

find balance

find balance

Authorizations:
(bearerAuthbasicAuth)

Responses

Response samples

Content type
application/json
{
  • "amountAvailable": 1000,
  • "amountWaitingFunds": 1000,
  • "amountAvailableToTransfer": 900
}

Dashboard

find many transaction stats

find many transaction stats

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2025-08-30T18:20:13.060Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.060Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

method
string
Enum: "pix" "credit_card" "unknown"
Example: method=pix

payment method

search
string <= 128 characters
Example: search=search

open search string field

status
Array of strings
Items Enum: "created" "waiting_payment" "paid" "refunded" "canceled" "failed" "expired" "authorized" "pre_authorized" "chargedback" "under_review"
Example: status=paid

comma-separated list of transaction status

notStatus
Array of strings
Items Enum: "created" "waiting_payment" "paid" "refunded" "canceled" "failed" "expired" "authorized" "pre_authorized" "chargedback" "under_review"
Example: notStatus=paid

comma-separated list of transaction status to not be included

externalId
string <= 128 characters
Example: externalId=my_ext_id

external id

preTransactionId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: preTransactionId=KaEVV7UOJOzB2QH2zPrkz

pre transaction id

amountRefundedGte
number or null >= 0
Example: amountRefundedGte=100

amount refunded greater than or equal to

amountRefundedLte
number or null >= 0
Example: amountRefundedLte=100

amount refunded greater than or equal to

timeGranularity
string
Default: "date"
Enum: "date" "hour"
Example: timeGranularity=hour

Grouping by date will return one bucket per day, grouping by hour will return one bucket per hour value

groupBy
Array of strings
Default: "timeKey&groupBy=status&groupBy=method"
Items Enum: "timeKey" "status" "method"
Example: groupBy=timeKey,status,method

comma-separated list group by fields for the stats

aggTimeZone
string^(\+|-)(0[0-9]|1[0-4]):([0-5][0-9])$
Example: aggTimeZone=-03:00

timezone for the aggregation time buckets in ±HH:MM format

Responses

Response samples

Content type
application/json
[
  • {
    }
]

find many transaction chargeback stats

find many transaction chargeback stats

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2025-08-30T18:20:13.064Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.064Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

status
Array of strings
Items Enum: "pending" "waiting_response" "under_review" "disputing" "won" "lost" "canceled"
Example: status=lost

comma-separated list of transaction chargeback status

notStatus
Array of strings
Items Enum: "pending" "waiting_response" "under_review" "disputing" "won" "lost" "canceled"
Example: notStatus=won

comma-separated list of transaction chargeback status to not be included

id
string = 21 characters ^[0-9a-zA-Z_]+$
Example: id=KaEVV7UOJOzB2QH2zPrkz

id

groupBy
Array of strings
Default: "timeKey&groupBy=status"
Items Enum: "timeKey" "status"
Example: groupBy=timeKey,status

comma-separated list group by fields for the stats

aggTimeZone
string^(\+|-)(0[0-9]|1[0-4]):([0-5][0-9])$
Example: aggTimeZone=-03:00

timezone for the aggregation time buckets in ±HH:MM format

Responses

Response samples

Content type
application/json
[
  • {
    }
]

External Auth

find many external auth merchants

find many external auth merchants

Authorizations:
(bearerAuthbasicAuth)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

create an external auth

create an external auth

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
merchantId
required
string = 21 characters ^[0-9a-zA-Z_]+$
email
required
string <email>
overrideRole
required
string
Enum: "merchant" "merchant_guest" "merchant_operator"

Responses

Request samples

Content type
application/json
{
  • "merchantId": "zpBxynBgNCzbdOKmpKG1k",
  • "email": "merchant@email.com",
  • "overrideRole": "merchant"
}

Response samples

Content type
application/json
{
  • "id": "fn7mz9CCKNyS3FU4dm6bT",
  • "externalUserId": "externalUserId",
  • "overrideRole": "merchant",
  • "email": "user@email.com",
  • "name": "name",
  • "createdAt": "2023-10-01T00:00:00.000Z",
  • "status": "active"
}

find many external auth

find many external auth

Authorizations:
(bearerAuthbasicAuth)
query Parameters
merchantId
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: merchantId=zpBxynBgNCzbdOKmpKG1k

Responses

Response samples

Content type
application/json
[
  • {
    }
]

delete an external auth

delete an external auth

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

reply to an external auth invite

reply to an external auth invite

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Request Body schema: application/json
hasAccepted
required
boolean

Responses

Request samples

Content type
application/json
{
  • "hasAccepted": true
}

Fee Rule

find many fee rule

find many fee rule

Authorizations:
(bearerAuthbasicAuth)
query Parameters
merchantId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: merchantId=upNWAg3eC8apERUqJx6yp

Responses

Response samples

Content type
application/json
{
  • "id": "THWKs7PdM4ccrTx0EdaXf",
  • "merchantId": "upNWAg3eC8apERUqJx6yp",
  • "name": "default rule",
  • "fundSchedule": 0,
  • "method": "pix",
  • "triggerEntity": "transaction",
  • "amountValue": 30,
  • "percentValue": 99,
  • "minAmount": 0,
  • "maxAmount": 999999999,
  • "startDate": "2022-01-01T00:00:00Z",
  • "endDate": "2022-12-31T23:59:59Z",
  • "creditCard": {
    },
  • "createdAt": "2022-01-01T00:00:00Z"
}

restrict find many fee rule

restrict find many fee rule

Authorizations:
(bearerAuthbasicAuth)
query Parameters
isEnabled
boolean
Example: isEnabled=true
merchantId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: merchantId=upNWAg3eC8apERUqJx6yp
method
string
Enum: "pix" "credit_card"
Example: method=pix
triggerEntity
string
Enum: "transaction" "transfer"
Example: triggerEntity=transaction

Responses

Response samples

Content type
application/json
{
  • "id": "THWKs7PdM4ccrTx0EdaXf",
  • "merchantId": "upNWAg3eC8apERUqJx6yp",
  • "name": "default rule",
  • "fundSchedule": 0,
  • "method": "pix",
  • "triggerEntity": "transaction",
  • "amountValue": 30,
  • "percentValue": 99,
  • "minAmount": 0,
  • "maxAmount": 999999999,
  • "startDate": "2022-01-01T00:00:00Z",
  • "endDate": "2022-12-31T23:59:59Z",
  • "creditCard": {
    },
  • "createdAt": "2022-01-01T00:00:00Z"
}

restrict create fee rule

restrict create fee rule

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
merchantId
string = 21 characters ^[0-9a-zA-Z_]+$
amountValue
required
integer

the fixed amount value charged in cents

percentValue
required
integer

the percentage value charged in base points (1,00% = 100)

name
required
string

the name of the fee rule

minAmount
required
integer >= 0

minimum amount charged

maxAmount
required
integer <= 999999999

the maximum amount charged

method
required
string
Enum: "pix" "credit_card"

the payment method that this rule applies to

triggerEntity
required
string
Enum: "transaction" "transfer"

the entity that this rule is applied to

fundSchedule
required
number

determines when the funds will be available to the merchant

required
string or string

start time that this rule will be active and be used to charge operations

required
string or string

end time that this rule will be active and be used to charge operations

Responses

Request samples

Content type
application/json
{
  • "merchantId": "upNWAg3eC8apERUqJx6yp",
  • "amountValue": 30,
  • "percentValue": 99,
  • "name": "default rule",
  • "minAmount": 0,
  • "maxAmount": 999999999,
  • "method": "pix",
  • "triggerEntity": "transaction",
  • "fundSchedule": 0,
  • "startDate": "2022-01-01T00:00:00Z",
  • "endDate": "2022-12-31T23:59:59Z"
}

Response samples

Content type
application/json
{
  • "id": "THWKs7PdM4ccrTx0EdaXf",
  • "merchantId": "upNWAg3eC8apERUqJx6yp",
  • "name": "default rule",
  • "fundSchedule": 0,
  • "method": "pix",
  • "triggerEntity": "transaction",
  • "amountValue": 30,
  • "percentValue": 99,
  • "minAmount": 0,
  • "maxAmount": 999999999,
  • "startDate": "2022-01-01T00:00:00Z",
  • "endDate": "2022-12-31T23:59:59Z",
  • "creditCard": {
    },
  • "createdAt": "2022-01-01T00:00:00Z"
}

restrict update fee rule

restrict update fee rule

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

query Parameters
merchantId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: merchantId=upNWAg3eC8apERUqJx6yp
Request Body schema: application/json
isEnabled
required
boolean

determines if the rule is enabled

Responses

Request samples

Content type
application/json
{
  • "isEnabled": true
}

Response samples

Content type
application/json
{
  • "id": "THWKs7PdM4ccrTx0EdaXf",
  • "merchantId": "upNWAg3eC8apERUqJx6yp",
  • "name": "default rule",
  • "fundSchedule": 0,
  • "method": "pix",
  • "triggerEntity": "transaction",
  • "amountValue": 30,
  • "percentValue": 99,
  • "minAmount": 0,
  • "maxAmount": 999999999,
  • "startDate": "2022-01-01T00:00:00Z",
  • "endDate": "2022-12-31T23:59:59Z",
  • "creditCard": {
    },
  • "createdAt": "2022-01-01T00:00:00Z"
}

Impersonate

impersonate a merchant

impersonate a merchant

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
merchantId
required
string = 21 characters ^[0-9a-zA-Z_]+$

Responses

Request samples

Content type
application/json
{
  • "merchantId": "zpBxynBgNCzbdOKmpKG1k"
}

remove impersonation

remove impersonation

Authorizations:
(bearerAuthbasicAuth)

Responses

Invoice

find an invoice by id

find an invoice by id

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "DTG1mut6wgTmJY0zmIjYo",
  • "merchantId": "bRkewl3nR7d9ewQ6OCfdY",
  • "status": "issued",
  • "totalAmount": 1000,
  • "period": "202200",
  • "issuedData": {},
  • "lines": [
    ],
  • "createdAt": "2022-01-01T00:00:00.000Z",
  • "updatedAt": "2022-01-01T00:00:00.000Z"
}

find many invoices

find many invoices

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.089Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.090Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

merchantId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: merchantId=KaEVV7UOJOzB2QH2zPrkz
tenantId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: tenantId=KaEVV7UOJOzB2QH2zPrkz
period
string = 6 characters ^[0-9a-zA-Z]+$
Example: period=202201
status
Array of strings
Items Enum: "created" "processing" "issued" "not_issued" "canceled"
Example: status=issued

comma-separated list of invoice status

notStatus
Array of strings
Items Enum: "created" "processing" "issued" "not_issued" "canceled"
Example: notStatus=not_issued

comma-separated list of invoice status

sortField
string
Default: "createdAt"
Enum: "createdAt" "paymentDate"

field to be used to sort the results

sortOrder
string
Default: "desc"
Enum: "asc" "desc"

sort order

Responses

Response samples

Content type
application/json
[
  • {
    }
]

generate a report of invoices

generate a report of invoices

Authorizations:
(bearerAuthbasicAuth)
query Parameters
format
required
string
Enum: "csv" "xlsx"
Example: format=csv
string or string
Default: "2025-11-28T18:20:13.107Z"
Example: createdAtLte=2022-01-01T00:00:00.000Z
string or string
Default: "2025-10-28T18:20:13.107Z"
Example: createdAtGte=2021-12-01T00:00:00.000Z

Responses

Merchant

find many merchants

find many merchants

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.112Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.112Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

status
Array of strings
Items Enum: "active" "suspended" "blocked"
Example: status=active

comma-separated list of merchant status

merchantIds
string
Example: merchantIds=merchantId1,merchantId2

comma-separated list of merchant ids

tierIds
Array of strings[^[0-9a-zA-Z_]+$]
Example: tierIds=tierId1,tierId2

comma-separated list of tier ids

search
string
Example: search=search

open search string field

notStatus
Array of strings
Items Enum: "active" "suspended" "blocked"
Example: notStatus=blocked

comma-separated list of merchant status to not be included

sortField
string
Default: "createdAt"
Enum: "createdAt" "updatedAt"

field to be used to sort the results

sortOrder
string
Default: "desc"
Enum: "asc" "desc"

sort order

Responses

Response samples

Content type
application/json
[
  • {
    }
]

find a merchant

find a merchant

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "EngmKkhbAoJhM0RPUQd6a",
  • "tierId": "EngmKkhbAoJhM0RPUQd6a",
  • "documentNumber": "88550339997",
  • "documentType": "cpf",
  • "externalId": "externalId",
  • "companyName": "company name",
  • "personName": "person name",
  • "personEmail": "person@email.com",
  • "segmentId": "EngmKkhbAoJhM0RPUQd6a",
  • "status": "active",
  • "statusMessage": "status message",
  • "statusHistory": [
    ],
  • "tradingName": "trading name",
  • "createdAt": "2024-01-01T00:00:00Z",
  • "updatedAt": "2024-01-01T00:00:00Z",
  • "billing": {
    },
  • "settings": {
    },
  • "metadata": {
    }
}

update a merchant

update a merchant

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Request Body schema: application/json
companyName
string <= 320 characters
tradingName
string <= 120 characters
personName
string [ 1 .. 50 ] characters
personEmail
string <email> <= 128 characters
object
object
object

open field to store information

Responses

Request samples

Content type
application/json
{
  • "companyName": "company name",
  • "tradingName": "trading name",
  • "personName": "person name",
  • "personEmail": "person@email.com",
  • "settings": {
    },
  • "billing": {
    },
  • "metadata": {
    }
}

Response samples

Content type
application/json
{
  • "id": "EngmKkhbAoJhM0RPUQd6a",
  • "tierId": "EngmKkhbAoJhM0RPUQd6a",
  • "documentNumber": "88550339997",
  • "documentType": "cpf",
  • "externalId": "externalId",
  • "companyName": "company name",
  • "personName": "person name",
  • "personEmail": "person@email.com",
  • "segmentId": "EngmKkhbAoJhM0RPUQd6a",
  • "status": "active",
  • "statusMessage": "status message",
  • "statusHistory": [
    ],
  • "tradingName": "trading name",
  • "createdAt": "2024-01-01T00:00:00Z",
  • "updatedAt": "2024-01-01T00:00:00Z",
  • "billing": {
    },
  • "settings": {
    },
  • "metadata": {
    }
}

find my merchant

find my merchant

Authorizations:
(bearerAuthbasicAuth)

Responses

Response samples

Content type
application/json
{
  • "id": "EngmKkhbAoJhM0RPUQd6a",
  • "tierId": "EngmKkhbAoJhM0RPUQd6a",
  • "documentNumber": "88550339997",
  • "documentType": "cpf",
  • "externalId": "externalId",
  • "companyName": "company name",
  • "personName": "person name",
  • "personEmail": "person@email.com",
  • "segmentId": "EngmKkhbAoJhM0RPUQd6a",
  • "status": "active",
  • "statusMessage": "status message",
  • "statusHistory": [
    ],
  • "tradingName": "trading name",
  • "createdAt": "2024-01-01T00:00:00Z",
  • "updatedAt": "2024-01-01T00:00:00Z",
  • "billing": {
    },
  • "settings": {
    },
  • "metadata": {
    }
}

restrict update merchant

restrict update merchant

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Request Body schema: application/json
tierId
string = 21 characters ^[0-9a-zA-Z_]+$
status
string
Enum: "active" "suspended" "blocked"
externalId
string <= 128 characters
object

open field to store information

Responses

Request samples

Content type
application/json
{
  • "tierId": "EngmKkhbAoJhM0RPUQd6a",
  • "status": "active",
  • "externalId": "externalId",
  • "metadata": {
    }
}

Response samples

Content type
application/json
{
  • "id": "EngmKkhbAoJhM0RPUQd6a",
  • "tierId": "EngmKkhbAoJhM0RPUQd6a",
  • "documentNumber": "88550339997",
  • "documentType": "cpf",
  • "externalId": "externalId",
  • "companyName": "company name",
  • "personName": "person name",
  • "personEmail": "person@email.com",
  • "segmentId": "EngmKkhbAoJhM0RPUQd6a",
  • "status": "active",
  • "statusMessage": "status message",
  • "statusHistory": [
    ],
  • "tradingName": "trading name",
  • "createdAt": "2024-01-01T00:00:00Z",
  • "updatedAt": "2024-01-01T00:00:00Z",
  • "billing": {
    },
  • "settings": {
    },
  • "metadata": {
    }
}

upload a merchant logo

upload a merchant logo

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Request Body schema: multipart/form-data
logo
required
string <binary>

image to display as the logo. Accepts image/png, image/jpeg, image/jpg only. Max: 5MB

Responses

delete a merchant logo

delete a merchant logo

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Merchant Record

create a merchant record

create a merchant record

Authorizations:
(bearerAuthbasicAuth)
path Parameters
merchantId
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a
Request Body schema: multipart/form-data
Any of
title
required
string
comment
string
attachments
string <binary>

list containing file or blob instances

Responses

Response samples

Content type
application/json
{
  • "id": "EngmKkhbAoJhM0RPUQd6a",
  • "title": "merchant changed login email",
  • "comment": "merchant changed because it was wrong",
  • "request": "tier_upgrade",
  • "status": "approved",
  • "attachments": [ ],
  • "externalUserId": "EngmKkhbAo",
  • "createdAt": "2024-01-01T00:00:00.000Z",
  • "updatedAt": "2024-01-01T00:00:00.000Z"
}

restrict find many merchant records

restrict find many merchant records

Authorizations:
(bearerAuthbasicAuth)
path Parameters
merchantId
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

Responses

Response samples

Content type
application/json
[
  • {
    }
]

restrict delete merchant record

restrict delete merchant record

Authorizations:
(bearerAuthbasicAuth)

Responses

restrict update a merchant record

restrict update a merchant record

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

merchantId
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a
Request Body schema: application/json
status
string
Enum: "approved" "pending" "refused"

Responses

Request samples

Content type
application/json
{
  • "status": "approved"
}

Response samples

Content type
application/json
{
  • "id": "EngmKkhbAoJhM0RPUQd6a",
  • "title": "merchant changed login email",
  • "comment": "merchant changed because it was wrong",
  • "request": "tier_upgrade",
  • "status": "approved",
  • "attachments": [ ],
  • "externalUserId": "EngmKkhbAo",
  • "createdAt": "2024-01-01T00:00:00.000Z",
  • "updatedAt": "2024-01-01T00:00:00.000Z"
}

restrict find many merchant records requests

restrict find many merchant records requests

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.141Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.141Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

status
Array of strings
Items Enum: "approved" "pending" "refused"
Example: status=pending

comma-separated list of merchant status

notStatus
Array of strings
Items Enum: "approved" "pending" "refused"
Example: notStatus=approved

comma-separated list of merchant status to not be included

merchantStatus
Array of strings
Items Enum: "active" "suspended" "blocked"
Example: merchantStatus=active

comma-separated list of merchant status

merchantNotStatus
Array of strings
Items Enum: "active" "suspended" "blocked"
Example: merchantNotStatus=blocked

comma-separated list of merchant status to not be included

merchantTierIds
Array of strings[^[0-9a-zA-Z_]+$]
Example: merchantTierIds=tierId1,tierId2

comma-separated list of tier ids

search
string
Example: search=search

open search string field

request
required
string
Example: request=tier_upgrade

request to be used to filter the results

sortField
string
Default: "createdAt"
Enum: "createdAt" "updatedAt"

field to be used to sort the results

sortOrder
string
Default: "desc"
Enum: "asc" "desc"

sort order

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Notification Bell

find many notification bell

find many notification bell

Authorizations:
bearerAuthbasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

update many notification bell to seen

update many notification bell to seen

Authorizations:
bearerAuthbasicAuth
Request Body schema: application/json
Array (<= 50 items)
id
required
string = 21 characters ^[0-9a-zA-Z_]+$

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "id": "b2efdd02a13649ee97843",
  • "isSeen": false,
  • "content": "You have a new notification",
  • "createdAt": "2021-09-01T00:00:00.000Z",
  • "updatedAt": "2021-09-01T00:00:00.000Z"
}

Notification Template

restrict create a notification template

restrict create a notification template

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
id
required
string^[0-9a-zA-Z-]+$
required
object

The fields required to render the template and send the notification

bellTemplate
required
string or null

Vento template to render the bell notification

emailTemplate
required
string or null

Vento template to render the email notification

emailSubjectTemplate
required
string or null

Vento template to render the email subject

slackTemplate
required
string or null

Vento template to render the slack notification

Responses

Request samples

Content type
application/json
{
  • "id": "9d13a0eb48964d5bba23e",
  • "requiredFields": {
    },
  • "bellTemplate": "Hi, {{bellTo}}, you have a new notification",
  • "emailTemplate": "Hi, {{emailTo}}, you have a new notification",
  • "emailSubjectTemplate": "New notification for {{emailTo}}",
  • "slackTemplate": "Hi, {{slackTo}}, you have a new notification"
}

Response samples

Content type
application/json
{
  • "id": "9d13a0eb48964d5bba23e",
  • "requiredFields": {
    },
  • "bellTemplate": "Hi, {{bellTo}}, you have a new notification",
  • "emailTemplate": "Hi, {{emailTo}}, you have a new notification",
  • "emailSubjectTemplate": "New notification for {{emailTo}}",
  • "createdAt": "2021-09-01T00:00:00.000Z",
  • "updatedAt": "2021-09-01T00:00:00.000Z"
}

restrict find many notification template

restrict find many notification template

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.148Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.149Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

Responses

Response samples

Content type
application/json
[
  • {
    }
]

restrict find a notification template

restrict find a notification template

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "9d13a0eb48964d5bba23e",
  • "requiredFields": {
    },
  • "bellTemplate": "Hi, {{bellTo}}, you have a new notification",
  • "emailTemplate": "Hi, {{emailTo}}, you have a new notification",
  • "emailSubjectTemplate": "New notification for {{emailTo}}",
  • "createdAt": "2021-09-01T00:00:00.000Z",
  • "updatedAt": "2021-09-01T00:00:00.000Z"
}

restrict update a notification template

restrict update a notification template

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
object
Default: {}

The fields required to render the template and send the notification

bellTemplate
string or null

Vento template to render the bell notification

emailTemplate
string or null

Vento template to render the email notification

emailSubjectTemplate
string or null

Vento template to render the email subject

slackTemplate
string or null

Vento template to render the slack notification

Responses

Request samples

Content type
application/json
{
  • "requiredFields": {
    },
  • "bellTemplate": "Hi, {{bellTo}}, you have a new notification",
  • "emailTemplate": "Hi, {{emailTo}}, you have a new notification",
  • "emailSubjectTemplate": "New notification for {{emailTo}}",
  • "slackTemplate": "Hi, {{slackTo}}, you have a new notification"
}

Response samples

Content type
application/json
{
  • "id": "9d13a0eb48964d5bba23e",
  • "requiredFields": {
    },
  • "bellTemplate": "Hi, {{bellTo}}, you have a new notification",
  • "emailTemplate": "Hi, {{emailTo}}, you have a new notification",
  • "emailSubjectTemplate": "New notification for {{emailTo}}",
  • "createdAt": "2021-09-01T00:00:00.000Z",
  • "updatedAt": "2021-09-01T00:00:00.000Z"
}

restrict delete a notification template

restrict delete a notification template

Authorizations:
(bearerAuthbasicAuth)

Responses

Notification

restrict create a notification

restrict create a notification

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
notificationTemplateId
required
string^[0-9a-zA-Z-]+$
required
object

Responses

Request samples

Content type
application/json
{
  • "notificationTemplateId": "1b393ed21ac74b398e552",
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "id": "b2efdd02a13649ee97843",
  • "notificationTemplateId": "1b393ed21ac74b398e552",
  • "data": {
    },
  • "createdAt": "2021-09-01T00:00:00.000Z"
}

Payable

find many payables

find many payables

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.153Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.154Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

entity
Array of strings
Items Enum: "transfer" "transaction" "transactionRefund"
Example: entity=transfer

entity to be used to filter

transactionId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: transactionId=lgUbH5A1vpg85zikTViBl
transactionRefundId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: transactionRefundId=lgUbH5A1vpg85zikTViBl
transactionSplitId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: transactionSplitId=lgUbH5A1vpg85zikTViBl
transferId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: transferId=lgUbH5A1vpg85zikTViBl
type
Array of strings
Items Enum: "credit" "debit"
Example: type=credit
method
string
Enum: "pix" "credit_card"
Example: method=pix
status
Array of strings
Items Enum: "canceled" "paid" "waiting_funds"
Example: status=paid

comma-separated list of payable status

notStatus
Array of strings
Items Enum: "canceled" "paid" "waiting_funds"
Example: notStatus=paid

comma-separated list of payable status to not be included

sortField
string
Default: "createdAt"
Enum: "createdAt" "paymentDate"

field to be used to sort the results

sortOrder
string
Default: "desc"
Enum: "asc" "desc"
Example: sortOrder=desc

sort order

string or string
Example: paymentDateLte=2022-01-01T00:00:00.000Z

paymentDate less than or equal to

string or string
Example: paymentDateGte=2022-01-01T00:00:00.000Z

paymentDate greater than or equal to

Responses

Response samples

Content type
application/json
[
  • {
    }
]

find a payable by id

find a payable by id

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "alW3joXi40mN1N6astSdY",
  • "merchantId": "6oR5LdZf7qJjMmxQ2yJyf",
  • "transactionId": "lgUbH5A1vpg85zikTViBl",
  • "transferId": "lgUbH5A1vpg85zikTViBl",
  • "transactionSplitId": "lgUbH5A1vpg85zikTViBl",
  • "transactionRefundId": "lgUbH5A1vpg85zikTViBl",
  • "isTransactionOwner": true,
  • "status": "paid",
  • "amount": 1000,
  • "fee": 100,
  • "paymentDate": "2022-01-01T00:00:00.000Z",
  • "method": "pix",
  • "type": "credit",
  • "installment": 1,
  • "createdAt": "2022-01-01T00:00:00.000Z",
  • "updatedAt": "2022-01-01T00:00:00.000Z"
}

find many payable summaries

find many payable summaries

Authorizations:
(bearerAuthbasicAuth)
query Parameters
transactionIds
Array of strings[^[0-9a-zA-Z_]+$]
Example: transactionIds=69sy4nw5PbM0PSF5e4JFZ,fce9wlRxddlakTPc2ZL1B

comma-separated list of related transactions to be considered

transferIds
Array of strings[^[0-9a-zA-Z_]+$]
Example: transferIds=69sy4nw5PbM0PSF5e4JFZ,fce9wlRxddlakTPc2ZL1B

comma-separated list of related transfers to be considered

status
Array of strings
Items Enum: "canceled" "paid" "waiting_funds"
Example: status=paid

comma-separated list of payable status

string or string
Example: paymentDateLte=2021-09-01T00:00:00.000Z

payment date less than or equal to

string or string
Example: paymentDateGte=2021-09-01T00:00:00.000Z

payment date greater than or equal to

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Pre Transaction

find a pre transaction checkout

find a pre transaction checkout

Authorizations:
bearerAuthbasicAuth
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchant": {},
  • "description": "payment for a service",
  • "status": "active",
  • "items": [
    ],
  • "shipping": {
    },
  • "amount": 5000,
  • "customer": {
    },
  • "transactions": [
    ],
  • "expirationDate": "2022-01-01T00:00:00Z",
  • "maxAttempts": 3,
  • "externalId": "123",
  • "createdAt": "2022-01-01T00:00:00Z",
  • "updatedAt": "2022-01-01T00:00:00Z"
}

create a transaction checkout

create a transaction checkout

Authorizations:
bearerAuthbasicAuth
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Request Body schema: application/json
method
required
string
Enum: "pix" "credit_card" "unknown"

use unknown if setting up a payment link

required
object or object or object

one of the schemas, depending on the payment method

required
Array of objects

describe the items that compose the transaction

required
object

shipping information

notifyUrl
string <uri>

url that we will notify any transaction updates (via webhooks)

externalId
string <= 128 characters

external id for the transaction

externalSaleChannel
string or null <= 128 characters ^[^\s]+$

channel where the transaction was made

object

open field to store information

object

customer information

Responses

Request samples

Content type
application/json
{
  • "method": "pix",
  • "methodSettings": {
    },
  • "items": [
    ],
  • "shipping": {
    },
  • "notifyUrl": "https://example.com",
  • "externalId": "123",
  • "externalSaleChannel": "ecommerce",
  • "metadata": {
    },
  • "customer": {
    }
}

Response samples

Content type
application/json
{
  • "id": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchant": {},
  • "description": "payment for a service",
  • "status": "active",
  • "items": [
    ],
  • "shipping": {
    },
  • "amount": 5000,
  • "customer": {
    },
  • "transactions": [
    ],
  • "expirationDate": "2022-01-01T00:00:00Z",
  • "maxAttempts": 3,
  • "externalId": "123",
  • "createdAt": "2022-01-01T00:00:00Z",
  • "updatedAt": "2022-01-01T00:00:00Z"
}

create a pre-transaction

create a pre-transaction

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
amount
required
integer > 0

The total amount of the transaction in cents

description
required
string <= 256 characters

A description of the pre transaction

required
Array of objects

The items of the pre transaction

object or null

shipping information

object or null

customer information

string or string
Default: "2025-12-28T18:20:13.192Z"

The expiration date of the pre transaction

maxAttempts
integer ( 0 .. 3 ]
Default: 3

The maximum number of attempts allowed for the pre transaction

notifyUrl
string <uri>

url that we will notify any transaction updates (via webhooks)

externalId
string <= 128 characters

external id for the transaction

object

open field to store information

Responses

Request samples

Content type
application/json
{
  • "amount": 5000,
  • "description": "payment for a service",
  • "items": [
    ],
  • "shipping": {
    },
  • "customer": {
    },
  • "expirationDate": "2022-01-01T00:00:00Z",
  • "maxAttempts": 3,
  • "notifyUrl": "https://example.com",
  • "externalId": "123",
  • "metadata": {
    }
}

Response samples

Content type
application/json
{
  • "id": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
  • "status": "active",
  • "description": "payment for a service",
  • "items": [
    ],
  • "shipping": {
    },
  • "amount": 5000,
  • "customer": {
    },
  • "transactions": [
    ],
  • "expirationDate": "2022-01-01T00:00:00Z",
  • "maxAttempts": 3,
  • "notifyUrl": "https://example.com",
  • "externalId": "123",
  • "metadata": {
    },
  • "createdAt": "2022-01-01T00:00:00Z",
  • "updatedAt": "2022-01-01T00:00:00Z"
}

find many pre transactions

find many pre transactions

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.203Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.203Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

status
Array of strings
Items Enum: "active" "expired" "canceled" "completed"
Example: status=active

comma-separated list of pre transaction status

search
string <= 128 characters
Example: search=search

open search string field

notStatus
Array of strings
Items Enum: "active" "expired" "canceled" "completed"
Example: notStatus=active

comma-separated list of pre transaction status to not be included

sortField
string
Default: "createdAt"
Enum: "createdAt" "updatedAt"

field to be used to sort the results

externalId
string <= 128 characters
Example: externalId=my_ext_id

external id

sortOrder
string
Default: "desc"
Enum: "asc" "desc"
Example: sortOrder=desc

sort order

Responses

Response samples

Content type
application/json
{
  • "id": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
  • "status": "active",
  • "description": "payment for a service",
  • "items": [
    ],
  • "shipping": {
    },
  • "amount": 5000,
  • "customer": {
    },
  • "transactions": [
    ],
  • "expirationDate": "2022-01-01T00:00:00Z",
  • "maxAttempts": 3,
  • "notifyUrl": "https://example.com",
  • "externalId": "123",
  • "metadata": {
    },
  • "createdAt": "2022-01-01T00:00:00Z",
  • "updatedAt": "2022-01-01T00:00:00Z"
}

find a pre transaction

find a pre transaction

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
  • "status": "active",
  • "description": "payment for a service",
  • "items": [
    ],
  • "shipping": {
    },
  • "amount": 5000,
  • "customer": {
    },
  • "transactions": [
    ],
  • "expirationDate": "2022-01-01T00:00:00Z",
  • "maxAttempts": 3,
  • "notifyUrl": "https://example.com",
  • "externalId": "123",
  • "metadata": {
    },
  • "createdAt": "2022-01-01T00:00:00Z",
  • "updatedAt": "2022-01-01T00:00:00Z"
}

cancel a pre transaction

cancel a pre transaction

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "KaEVV7UOJOzB2QH2zPrkz",
  • "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
  • "status": "active",
  • "description": "payment for a service",
  • "items": [
    ],
  • "shipping": {
    },
  • "amount": 5000,
  • "customer": {
    },
  • "transactions": [
    ],
  • "expirationDate": "2022-01-01T00:00:00Z",
  • "maxAttempts": 3,
  • "notifyUrl": "https://example.com",
  • "externalId": "123",
  • "metadata": {
    },
  • "createdAt": "2022-01-01T00:00:00Z",
  • "updatedAt": "2022-01-01T00:00:00Z"
}

Registration

create a registration

create a registration

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
documentNumber
required
string

cpf or cnpj number without punctuation

documentType
required
string
Enum: "cpf" "cnpj"

cpf or cnpj

Responses

Request samples

Content type
application/json
{
  • "documentNumber": "88550339997",
  • "documentType": "cpf"
}

Response samples

Content type
application/json
{
  • "id": "mbWVijmG5JTUSi4PQZVKv",
  • "documentNumber": "88550339997",
  • "documentType": "cpf",
  • "status": "pending",
  • "statusMessage": "status message",
  • "providerData": {},
  • "createdAt": "2022-01-01T00:00:00Z",
  • "updatedAt": "2022-01-01T00:00:00Z"
}

find many registrations

find many registrations

Authorizations:
(bearerAuthbasicAuth)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Transaction

generate a qr code

generate a qr code

Authorizations:
bearerAuthbasicAuth
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

create a transaction

create a transaction

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
method
required
string
Enum: "pix" "credit_card" "unknown"

use unknown if setting up a payment link

required
object or object or object

one of the schemas, depending on the payment method

required
Array of objects

describe the items that compose the transaction

required
object

shipping information

notifyUrl
string <uri>

url that we will notify any transaction updates (via webhooks)

externalId
string <= 128 characters

external id for the transaction

externalSaleChannel
string or null <= 128 characters ^[^\s]+$

channel where the transaction was made

object

open field to store information

amount
required
integer > 0

total amount for the transaction, including shipping and items

required
object

customer information

required
Array of objects

specify how the transaction will be splitted between one or more merchants. if null, current merchant will receive the total amount by default

Responses

Request samples

Content type
application/json
{
  • "method": "pix",
  • "methodSettings": {
    },
  • "items": [
    ],
  • "shipping": {
    },
  • "notifyUrl": "https://example.com",
  • "externalId": "123",
  • "externalSaleChannel": "ecommerce",
  • "metadata": {
    },
  • "amount": 1000,
  • "customer": {
    },
  • "splits": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "gnQjJatJSrhxaGtXeTuDd",
  • "merchantId": "CRutyJmJHin46NXnRdCjN",
  • "preTransactionId": "eDNSaEjdyKFUYZBLGjqXH",
  • "providerId": "b8d32335507746d381daf2d38db89111c496089b15",
  • "status": "paid",
  • "statusMessage": "changed status",
  • "statusHistory": [
    ],
  • "method": "pix",
  • "methodSettings": {
    },
  • "items": [
    ],
  • "refunds": [
    ],
  • "shipping": {
    },
  • "methodData": {
    },
  • "paidData": {
    },
  • "amount": 5000,
  • "amountRefunded": 0,
  • "customer": {
    },
  • "splits": [
    ],
  • "externalId": "my_ext_id",
  • "externalSaleChannel": "ecommerce",
  • "metadata": {
    },
  • "paidAt": "2021-10-25T20:00:00.000Z",
  • "antifraudData": {
    },
  • "refundedAt": "2021-10-25T20:00:00.000Z",
  • "createdAt": "2021-10-25T20:00:00.000Z",
  • "updatedAt": "2021-10-25T20:00:00.000Z"
}

find many transactions

find many transactions

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.257Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.257Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

method
string
Enum: "pix" "credit_card" "unknown"
Example: method=pix

payment method

status
Array of strings
Items Enum: "created" "waiting_payment" "paid" "refunded" "canceled" "failed" "expired" "authorized" "pre_authorized" "chargedback" "under_review"
Example: status=paid

comma-separated list of transaction status

search
string <= 128 characters
Example: search=search

open search string field

notStatus
Array of strings
Items Enum: "created" "waiting_payment" "paid" "refunded" "canceled" "failed" "expired" "authorized" "pre_authorized" "chargedback" "under_review"
Example: notStatus=paid

comma-separated list of transaction status to not be included

sortField
string
Default: "createdAt"
Enum: "createdAt" "updatedAt" "paidAt" "refundedAt"

field to be used to sort the results

externalId
string <= 128 characters
Example: externalId=my_ext_id

external id

preTransactionId
string = 21 characters ^[0-9a-zA-Z_]+$
Example: preTransactionId=KaEVV7UOJOzB2QH2zPrkz

pre transaction id

sortOrder
string
Default: "desc"
Enum: "asc" "desc"

sort order

amountRefundedGte
number or null >= 0
Example: amountRefundedGte=100

amount refunded greater than or equal to

amountRefundedLte
number or null >= 0
Example: amountRefundedLte=100

amount refunded less than or equal to

Responses

Response samples

Content type
application/json
[
  • {
    }
]

find a transaction

find a transaction

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "gnQjJatJSrhxaGtXeTuDd",
  • "merchantId": "CRutyJmJHin46NXnRdCjN",
  • "preTransactionId": "eDNSaEjdyKFUYZBLGjqXH",
  • "providerId": "b8d32335507746d381daf2d38db89111c496089b15",
  • "status": "paid",
  • "statusMessage": "changed status",
  • "statusHistory": [
    ],
  • "method": "pix",
  • "methodSettings": {
    },
  • "items": [
    ],
  • "refunds": [
    ],
  • "shipping": {
    },
  • "methodData": {
    },
  • "paidData": {
    },
  • "amount": 5000,
  • "amountRefunded": 0,
  • "customer": {
    },
  • "splits": [
    ],
  • "externalId": "my_ext_id",
  • "externalSaleChannel": "ecommerce",
  • "metadata": {
    },
  • "paidAt": "2021-10-25T20:00:00.000Z",
  • "antifraudData": {
    },
  • "refundedAt": "2021-10-25T20:00:00.000Z",
  • "createdAt": "2021-10-25T20:00:00.000Z",
  • "updatedAt": "2021-10-25T20:00:00.000Z"
}

cancel a transaction

cancel a transaction

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{ }

Transaction Refund

create a transaction refund

create a transaction refund

Authorizations:
(bearerAuthbasicAuth)
path Parameters
transactionId
required
string

transaction id

Responses

Response samples

Content type
application/json
{
  • "id": "blPQsK6dOKOo08OoKyBF1",
  • "amount": 1000,
  • "status": "refunded",
  • "statusMessage": "refunded succesfully",
  • "statusHistory": [
    ],
  • "refundedAt": "2021-10-25T20:00:00.000Z",
  • "refundedData": {
    },
  • "createdAt": "2021-10-25T20:00:00.000Z",
  • "updatedAt": "2021-10-25T20:00:00.000Z"
}

Transaction Split

find many transaction splits

find many transaction splits

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Transaction Chargeback

restrict update a transaction chargeback

restrict update a transaction chargeback

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

required
object
Example: KaEVV7UOJOzB2QH2zPrkz

transaction id

Request Body schema: application/json
status
required
string
Enum: "disputing" "won" "lost"

Chargeback status

Responses

Request samples

Content type
application/json
{
  • "status": "won"
}

Response samples

Content type
application/json
{
  • "id": "gnQjJatJSrhxaGtXeTuDd",
  • "transactionId": "gnQjJatJSrhxaGtXeTuDd",
  • "amount": 10000,
  • "wonAmount": 8000,
  • "status": "pending",
  • "statusMessage": "Chargeback is pending review",
  • "statusHistory": [
    ],
  • "reason": "fraud",
  • "requiredDocuments": [
    ],
  • "providerData": {
    },
  • "isGuaranteePaid": false,
  • "createdAt": "2025-11-28T18:20:12.975Z",
  • "updatedAt": "2025-11-28T18:20:12.975Z"
}

find many transaction chargebacks

find many transaction chargebacks

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.268Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.268Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

id
string = 21 characters ^[0-9a-zA-Z_]+$
Example: id=KaEVV7UOJOzB2QH2zPrkz

transaction chargeback id

status
Array of strings
Items Enum: "pending" "waiting_response" "under_review" "disputing" "won" "lost" "canceled"
Example: status=pending

comma-separated list of transaction chargeback status

notStatus
Array of strings
Items Enum: "pending" "waiting_response" "under_review" "disputing" "won" "lost" "canceled"
Example: notStatus=pending

comma-separated list of transaction chargeback status to not be included

sortField
string
Default: "createdAt"
Value: "createdAt"

field to be used to sort the results

sortOrder
string
Default: "desc"
Enum: "asc" "desc"

order to be used to sort the results

Responses

Response samples

Content type
application/json
[
  • {
    }
]

find a transaction chargeback

find a transaction chargeback

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

required
object
Example: KaEVV7UOJOzB2QH2zPrkz

transaction id

Responses

Response samples

Content type
application/json
{
  • "id": "gnQjJatJSrhxaGtXeTuDd",
  • "transactionId": "gnQjJatJSrhxaGtXeTuDd",
  • "amount": 10000,
  • "wonAmount": 8000,
  • "status": "pending",
  • "statusMessage": "Chargeback is pending review",
  • "statusHistory": [
    ],
  • "reason": "fraud",
  • "requiredDocuments": [
    ],
  • "providerData": {
    },
  • "isGuaranteePaid": false,
  • "createdAt": "2025-11-28T18:20:12.975Z",
  • "updatedAt": "2025-11-28T18:20:12.975Z"
}

upload document for chargeback dispute

upload document for chargeback dispute

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

required
object
Example: KaEVV7UOJOzB2QH2zPrkz

transaction id

Request Body schema: multipart/form-data
file
required
string <binary>

Document file to upload for the chargeback dispute

Responses

Response samples

Content type
application/json
{
  • "id": "gnQjJatJSrhxaGtXeTuDd",
  • "transactionId": "gnQjJatJSrhxaGtXeTuDd",
  • "amount": 10000,
  • "wonAmount": 8000,
  • "status": "pending",
  • "statusMessage": "Chargeback is pending review",
  • "statusHistory": [
    ],
  • "reason": "fraud",
  • "requiredDocuments": [
    ],
  • "providerData": {
    },
  • "isGuaranteePaid": false,
  • "createdAt": "2025-11-28T18:20:12.975Z",
  • "updatedAt": "2025-11-28T18:20:12.975Z"
}

Transfer

create a transfer

create a transfer

Authorizations:
(bearerAuthbasicAuth)
Request Body schema: application/json
amount
required
integer > 0
object

open field to store information

method
required
string
Value: "pix"

Responses

Request samples

Content type
application/json
{
  • "amount": 1000,
  • "metadata": {
    },
  • "method": "pix"
}

Response samples

Content type
application/json
{
  • "id": "hhFHjpKeGTpTJnw2z2jmz",
  • "merchantId": "zpBxynBgNCzbdOKmpKG1k",
  • "method": "pix",
  • "methodDestination": {
    },
  • "isAutoTransfer": true,
  • "amount": 1000,
  • "status": "processing",
  • "statusMessage": "Processing transfer",
  • "statusHistory": {
    },
  • "metadata": {
    },
  • "createdAt": "2021-07-29T14:00:00Z",
  • "updatedAt": "2021-07-29T14:00:00Z"
}

find many transfers

find many transfers

Authorizations:
(bearerAuthbasicAuth)
query Parameters
string or string
Default: "2024-12-03T18:20:13.281Z"
Example: createdAtGte=2021-01-01T03:00:00.000Z

filter by createdAt greater than or equal to

string or string
Default: "2025-11-28T18:20:13.281Z"
Example: createdAtLte=2021-01-02T02:59:59.999Z

filter by createdAt less than or equal to

page
integer > 0
Default: 1
Example: page=1

page number

pageSize
integer ( 0 .. 1000 ]
Default: 10
Example: pageSize=10

number of items per page

status
Array of strings
Items Enum: "created" "processing" "failed" "completed"
Example: status=processing

comma-separated list of transfer status

notStatus
Array of strings
Items Enum: "created" "processing" "failed" "completed"
Example: notStatus=processing

comma-separated list of transfer status to not be included

isAutoTransfer
boolean
Example: isAutoTransfer=true
search
string <= 128 characters
Example: search=search

open search string field

sortField
string
Default: "createdAt"
Enum: "createdAt" "updatedAt"

field to be used to sort the results

sortOrder
string
Default: "desc"
Enum: "asc" "desc"
Example: sortOrder=desc

sort order

Responses

Response samples

Content type
application/json
[
  • {
    }
]

find a transfer

find a transfer

Authorizations:
(bearerAuthbasicAuth)
path Parameters
id
required
string = 21 characters ^[0-9a-zA-Z_]+$
Example: EngmKkhbAoJhM0RPUQd6a

unique identifier

Responses

Response samples

Content type
application/json
{
  • "id": "hhFHjpKeGTpTJnw2z2jmz",
  • "merchantId": "zpBxynBgNCzbdOKmpKG1k",
  • "method": "pix",
  • "methodDestination": {
    },
  • "isAutoTransfer": true,
  • "amount": 1000,
  • "status": "processing",
  • "statusMessage": "Processing transfer",
  • "statusHistory": {
    },
  • "metadata": {
    },
  • "createdAt": "2021-07-29T14:00:00Z",
  • "updatedAt": "2021-07-29T14:00:00Z"
}

ZipCode

find a zip code

find a zip code

Authorizations:
bearerAuthbasicAuth

Responses

Response samples

Content type
application/json
{
  • "line1": "Rua Amador Bueno",
  • "line2": "181",
  • "state": "SP",
  • "city": "Santos",
  • "ibgeCode": "3548500",
  • "neighborhood": "Centro",
  • "name": "Edifício Gomes",
  • "zipCode": "11013912"
}