Download OpenAPI specification:Download
Welcome to InfraPSP API documentation. This API is used to interact with the InfraPSP services.
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.
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.
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.
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.
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"
}
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:
Control transaction creation behavior using methodSettings.payerRequest:
| Value | Resulting Status | Description |
|---|---|---|
fail_on_create |
failed |
Transaction fails during creation at provider level |
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:
1010: Transaction will be paid after 10 seconds2020: Transaction will be paid after 20 seconds1001: Transaction will fail immediatelyOnly 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 |
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 |
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:
1010: Transfer will complete after 10 seconds3000: Transfer will complete immediately (0 seconds delay)1501: Transfer will failNote: 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.
create an api key
| description required | string |
string or string or (any or null) |
{- "description": "API key for merchant",
- "expiresAt": "2021-07-29T14:00:00Z"
}{- "id": "fn7mz9CCKNyS3FU4dm6bT",
- "key": "ipsp_J4fUCKKoljfQgH7T3LFMK",
- "description": "API key for merchant",
- "expiresAt": "2021-07-29T14:00:00Z",
- "createdAt": "2021-07-29T14:00:00Z"
}[- {
- "id": "fn7mz9CCKNyS3FU4dm6bT",
- "key": "ipsp_J4fUCKKoljfQgH7T3LFMK",
- "description": "API key for merchant",
- "expiresAt": "2021-07-29T14:00:00Z",
- "createdAt": "2021-07-29T14:00:00Z"
}
]find many operations
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 |
[- {
- "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"
}
]find an operation by id
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "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
| 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 |
find many transaction stats
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 |
[- {
- "timeKey": "2023-10-01",
- "status": "paid",
- "method": "pix",
- "amount": 1500,
- "amountRefunded": 300,
- "amountChargedBack": 200,
- "count": 10
}
]find many transaction chargeback stats
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 |
[- {
- "timeKey": "2023-10-01",
- "status": "won",
- "amount": 1500,
- "wonAmount": 1200,
- "count": 10
}
]create an external auth
| merchantId required | string = 21 characters ^[0-9a-zA-Z_]+$ |
| email required | string <email> |
| overrideRole required | string Enum: "merchant" "merchant_guest" "merchant_operator" |
{- "merchantId": "zpBxynBgNCzbdOKmpKG1k",
- "email": "merchant@email.com",
- "overrideRole": "merchant"
}{- "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
| merchantId required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: merchantId=zpBxynBgNCzbdOKmpKG1k |
[- {
- "id": "fn7mz9CCKNyS3FU4dm6bT",
- "externalUserId": "externalUserId",
- "overrideRole": "merchant",
- "email": "user@email.com",
- "name": "name",
- "createdAt": "2023-10-01T00:00:00.000Z",
- "status": "active"
}
]reply to an external auth invite
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ |
| hasAccepted required | boolean |
{- "hasAccepted": true
}find many fee rule
| merchantId | string = 21 characters ^[0-9a-zA-Z_]+$ Example: merchantId=upNWAg3eC8apERUqJx6yp |
{- "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": {
- "mdr": [
- {
- "installment": 1,
- "percent": 1000
}, - {
- "installment": 2,
- "percent": 2000
}
], - "chargebackGuarantee": 500,
- "anticipation": 1000
}, - "createdAt": "2022-01-01T00:00:00Z"
}restrict find many fee rule
| 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 |
{- "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": {
- "mdr": [
- {
- "installment": 1,
- "percent": 1000
}, - {
- "installment": 2,
- "percent": 2000
}
], - "chargebackGuarantee": 500,
- "anticipation": 1000
}, - "createdAt": "2022-01-01T00:00:00Z"
}restrict create fee rule
| 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 |
{- "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"
}{- "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": {
- "mdr": [
- {
- "installment": 1,
- "percent": 1000
}, - {
- "installment": 2,
- "percent": 2000
}
], - "chargebackGuarantee": 500,
- "anticipation": 1000
}, - "createdAt": "2022-01-01T00:00:00Z"
}restrict update fee rule
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
| merchantId | string = 21 characters ^[0-9a-zA-Z_]+$ Example: merchantId=upNWAg3eC8apERUqJx6yp |
| isEnabled required | boolean determines if the rule is enabled |
{- "isEnabled": true
}{- "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": {
- "mdr": [
- {
- "installment": 1,
- "percent": 1000
}, - {
- "installment": 2,
- "percent": 2000
}
], - "chargebackGuarantee": 500,
- "anticipation": 1000
}, - "createdAt": "2022-01-01T00:00:00Z"
}find an invoice by id
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "id": "DTG1mut6wgTmJY0zmIjYo",
- "merchantId": "bRkewl3nR7d9ewQ6OCfdY",
- "status": "issued",
- "totalAmount": 1000,
- "period": "202200",
- "issuedData": {
- "number": "202200",
- "checkCode": "1234567890"
}, - "lines": [
- {
- "id": "8mppermyRNc0aCbI8OKK4",
- "description": "Taxes",
- "amount": 1000,
- "createdAt": "2022-01-01T00:00:00.000Z"
}
], - "createdAt": "2022-01-01T00:00:00.000Z",
- "updatedAt": "2022-01-01T00:00:00.000Z"
}find many invoices
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 |
[- {
- "id": "DTG1mut6wgTmJY0zmIjYo",
- "merchantId": "bRkewl3nR7d9ewQ6OCfdY",
- "status": "issued",
- "totalAmount": 1000,
- "period": "202200",
- "issuedData": {
- "number": "202200",
- "checkCode": "1234567890"
}, - "lines": [
- {
- "id": "8mppermyRNc0aCbI8OKK4",
- "description": "Taxes",
- "amount": 1000,
- "createdAt": "2022-01-01T00:00:00.000Z"
}
], - "createdAt": "2022-01-01T00:00:00.000Z",
- "updatedAt": "2022-01-01T00:00:00.000Z"
}
]generate a report of invoices
| 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 |
find many merchants
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 |
[- {
- "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": [
- {
- "status": "active",
- "message": "status changed",
- "createdAt": "2024-01-01T00:00:00Z"
}
], - "tradingName": "trading name",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z",
- "billing": {
- "email": "billing@email.com",
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}
}, - "settings": {
- "emailSettings": {
- "transactionFieldId": "id",
- "transactionFieldName": "transaction",
- "isEnabled": true
}, - "autoTransferSettings": {
- "isEnabled": false
}, - "primaryColor": "#000000",
- "secondaryColor": "#000000",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
]find a merchant
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "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": [
- {
- "status": "active",
- "message": "status changed",
- "createdAt": "2024-01-01T00:00:00Z"
}
], - "tradingName": "trading name",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z",
- "billing": {
- "email": "billing@email.com",
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}
}, - "settings": {
- "emailSettings": {
- "transactionFieldId": "id",
- "transactionFieldName": "transaction",
- "isEnabled": true
}, - "autoTransferSettings": {
- "isEnabled": false
}, - "primaryColor": "#000000",
- "secondaryColor": "#000000",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}update a merchant
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
| 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 |
{- "companyName": "company name",
- "tradingName": "trading name",
- "personName": "person name",
- "personEmail": "person@email.com",
- "settings": {
- "emailSettings": {
- "transactionFieldId": "id",
- "transactionFieldName": "transaction",
- "isEnabled": true
}, - "autoTransferSettings": {
- "isEnabled": false
}, - "primaryColor": "#000000",
- "secondaryColor": "#000000"
}, - "billing": {
- "email": "billing@email.com",
- "address": {
- "line1": "string",
- "line2": "string",
- "number": "string",
- "neighborhood": "string",
- "zipCode": "string",
- "state": "string",
- "city": "string",
- "country": "string",
- "ibgeCode": "string"
}
}, - "metadata": {
- "key": "value"
}
}{- "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": [
- {
- "status": "active",
- "message": "status changed",
- "createdAt": "2024-01-01T00:00:00Z"
}
], - "tradingName": "trading name",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z",
- "billing": {
- "email": "billing@email.com",
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}
}, - "settings": {
- "emailSettings": {
- "transactionFieldId": "id",
- "transactionFieldName": "transaction",
- "isEnabled": true
}, - "autoTransferSettings": {
- "isEnabled": false
}, - "primaryColor": "#000000",
- "secondaryColor": "#000000",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "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": [
- {
- "status": "active",
- "message": "status changed",
- "createdAt": "2024-01-01T00:00:00Z"
}
], - "tradingName": "trading name",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z",
- "billing": {
- "email": "billing@email.com",
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}
}, - "settings": {
- "emailSettings": {
- "transactionFieldId": "id",
- "transactionFieldName": "transaction",
- "isEnabled": true
}, - "autoTransferSettings": {
- "isEnabled": false
}, - "primaryColor": "#000000",
- "secondaryColor": "#000000",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}restrict update merchant
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
| tierId | string = 21 characters ^[0-9a-zA-Z_]+$ |
| status | string Enum: "active" "suspended" "blocked" |
| externalId | string <= 128 characters |
object open field to store information |
{- "tierId": "EngmKkhbAoJhM0RPUQd6a",
- "status": "active",
- "externalId": "externalId",
- "metadata": {
- "key": "value"
}
}{- "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": [
- {
- "status": "active",
- "message": "status changed",
- "createdAt": "2024-01-01T00:00:00Z"
}
], - "tradingName": "trading name",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z",
- "billing": {
- "email": "billing@email.com",
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}
}, - "settings": {
- "emailSettings": {
- "transactionFieldId": "id",
- "transactionFieldName": "transaction",
- "isEnabled": true
}, - "autoTransferSettings": {
- "isEnabled": false
}, - "primaryColor": "#000000",
- "secondaryColor": "#000000",
- "createdAt": "2024-01-01T00:00:00Z",
- "updatedAt": "2024-01-01T00:00:00Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}upload a merchant logo
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
| logo required | string <binary> image to display as the logo. Accepts image/png, image/jpeg, image/jpg only. Max: 5MB |
create a merchant record
| merchantId required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a |
| title required | string |
| comment | string |
| attachments | string <binary> list containing file or blob instances |
{- "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
| merchantId required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a |
[- {
- "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 update a merchant record
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
| merchantId required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a |
| status | string Enum: "approved" "pending" "refused" |
{- "status": "approved"
}{- "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
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 |
[- {
- "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",
- "merchant": {
- "id": "EngmKkhbAoJhM0RPUQd6a",
- "tierId": "EngmKkhbAoJhM0RPUQd6a",
- "documentNumber": "88550339997",
- "documentType": "cpf",
- "externalId": "externalId",
- "companyName": "company name",
- "personName": "person name",
- "personEmail": "person@email.com",
- "createdAt": "2024-01-01T00:00:00Z"
}
}
][- {
- "id": "b2efdd02a13649ee97843",
- "isSeen": false,
- "content": "You have a new notification",
- "createdAt": "2021-09-01T00:00:00.000Z",
- "updatedAt": "2021-09-01T00:00:00.000Z"
}
]update many notification bell to seen
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ |
[- {
- "id": "b2efdd02a13649ee97843"
}
]{- "id": "b2efdd02a13649ee97843",
- "isSeen": false,
- "content": "You have a new notification",
- "createdAt": "2021-09-01T00:00:00.000Z",
- "updatedAt": "2021-09-01T00:00:00.000Z"
}restrict create a notification template
| 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 |
{- "id": "9d13a0eb48964d5bba23e",
- "requiredFields": {
- "bellTo": "string",
- "emailTo": "string",
- "slackTo": "string"
}, - "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"
}{- "id": "9d13a0eb48964d5bba23e",
- "requiredFields": {
- "bellTo": "string",
- "emailTo": "string"
}, - "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
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 |
[- {
- "id": "9d13a0eb48964d5bba23e",
- "requiredFields": {
- "bellTo": "string",
- "emailTo": "string"
}, - "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 a notification template
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "id": "9d13a0eb48964d5bba23e",
- "requiredFields": {
- "bellTo": "string",
- "emailTo": "string"
}, - "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
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 |
{- "requiredFields": {
- "bellTo": "string",
- "emailTo": "string",
- "slackTo": "string"
}, - "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"
}{- "id": "9d13a0eb48964d5bba23e",
- "requiredFields": {
- "bellTo": "string",
- "emailTo": "string"
}, - "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 create a notification
| notificationTemplateId required | string^[0-9a-zA-Z-]+$ |
required | object |
{- "notificationTemplateId": "1b393ed21ac74b398e552",
- "data": {
- "key": "value"
}
}{- "id": "b2efdd02a13649ee97843",
- "notificationTemplateId": "1b393ed21ac74b398e552",
- "data": {
- "key": "value"
}, - "createdAt": "2021-09-01T00:00:00.000Z"
}find many payables
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 |
[- {
- "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 a payable by id
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "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
| 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 |
[- {
- "day": "2021-09-01",
- "type": "credit",
- "method": "pix",
- "status": "waiting_funds",
- "amount": 1000,
- "fee": 100
}
]find a pre transaction checkout
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "id": "KaEVV7UOJOzB2QH2zPrkz",
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "merchant": {
- "tradingName": "My Store",
- "settings": {
- "primaryColor": "#000000",
- "secondaryColor": "#FFFFFF",
}
}, - "description": "payment for a service",
- "status": "active",
- "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 1000,
- "recipientName": "John Doe"
}, - "amount": 5000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "gender": "male"
}, - "transactions": [
- {
- "id": "gnQjJatJSrhxaGtXeTuDd",
- "merchantId": "CRutyJmJHin46NXnRdCj",
- "preTransactionId": "TN6wQQOoe3Au3CrspWS0r",
- "providerId": "b8d32335507746d381daf2d38db89111c496089b15",
- "status": "waiting_payment",
- "method": "pix",
- "methodSettings": {
- "expiresIn": 3600,
- "additionalInfo": [
- {
- "key": "key",
- "value": "value"
}
], - "payerRequest": "payer request"
}, - "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 1000,
- "recipientName": "John Doe"
}, - "methodData": {
- "qrCode": "00020101021126730014br.gov.bcb.pix0136123456789012345600052820MyMerchantName52040000530398654041.005802BR5913MyMerchantName6009SAO PAULO62070503-0506304C6E",
- "expirationDate": "2021-10-25T20:00:00.000Z",
}, - "amount": 1000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "gender": "male"
}, - "externalId": "my_ext_id",
- "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}
], - "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
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
| 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 |
{- "method": "pix",
- "methodSettings": {
- "expiresIn": 3600,
- "additionalInfo": [
- {
- "key": "key",
- "value": "value"
}
], - "payerRequest": "payment for the best store"
}, - "items": [
- {
- "description": "product description",
- "amount": 1000,
- "quantity": 1,
- "category": "product",
- "code": "123"
}
], - "shipping": {
- "amount": 1000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-12-31T23:59:59.999Z",
- "estimatedDeliveryDate": "2021-12-31T23:59:59.999Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "externalId": "123",
- "externalSaleChannel": "ecommerce",
- "metadata": {
- "key": "value"
}, - "customer": {
- "companyName": "Company Name",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}
}{- "id": "KaEVV7UOJOzB2QH2zPrkz",
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "merchant": {
- "tradingName": "My Store",
- "settings": {
- "primaryColor": "#000000",
- "secondaryColor": "#FFFFFF",
}
}, - "description": "payment for a service",
- "status": "active",
- "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 1000,
- "recipientName": "John Doe"
}, - "amount": 5000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "gender": "male"
}, - "transactions": [
- {
- "id": "gnQjJatJSrhxaGtXeTuDd",
- "merchantId": "CRutyJmJHin46NXnRdCj",
- "preTransactionId": "TN6wQQOoe3Au3CrspWS0r",
- "providerId": "b8d32335507746d381daf2d38db89111c496089b15",
- "status": "waiting_payment",
- "method": "pix",
- "methodSettings": {
- "expiresIn": 3600,
- "additionalInfo": [
- {
- "key": "key",
- "value": "value"
}
], - "payerRequest": "payer request"
}, - "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 1000,
- "recipientName": "John Doe"
}, - "methodData": {
- "qrCode": "00020101021126730014br.gov.bcb.pix0136123456789012345600052820MyMerchantName52040000530398654041.005802BR5913MyMerchantName6009SAO PAULO62070503-0506304C6E",
- "expirationDate": "2021-10-25T20:00:00.000Z",
}, - "amount": 1000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "gender": "male"
}, - "externalId": "my_ext_id",
- "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}
], - "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
| 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 |
{- "amount": 5000,
- "description": "payment for a service",
- "items": [
- {
- "description": "product description",
- "amount": 1000,
- "quantity": 1,
- "category": "product",
- "code": "123"
}
], - "shipping": {
- "amount": 1000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-12-31T23:59:59.999Z",
- "estimatedDeliveryDate": "2021-12-31T23:59:59.999Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "customer": {
- "companyName": "Company Name",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "expirationDate": "2022-01-01T00:00:00Z",
- "maxAttempts": 3,
- "externalId": "123",
- "metadata": {
- "key": "value"
}
}{- "id": "KaEVV7UOJOzB2QH2zPrkz",
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "status": "active",
- "description": "payment for a service",
- "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 5000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-10-25T20:00:00.000Z",
- "estimatedDeliveryDate": "2021-10-25T20:00:00.000Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "amount": 5000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "transactions": [
- {
- "id": "713044c6706f4d28a90fd",
- "method": "pix",
- "status": "created"
}
], - "expirationDate": "2022-01-01T00:00:00Z",
- "maxAttempts": 3,
- "externalId": "123",
- "metadata": {
- "key": "value"
}, - "createdAt": "2022-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z"
}find many pre transactions
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 |
{- "id": "KaEVV7UOJOzB2QH2zPrkz",
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "status": "active",
- "description": "payment for a service",
- "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 5000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-10-25T20:00:00.000Z",
- "estimatedDeliveryDate": "2021-10-25T20:00:00.000Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "amount": 5000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "transactions": [
- {
- "id": "713044c6706f4d28a90fd",
- "method": "pix",
- "status": "created"
}
], - "expirationDate": "2022-01-01T00:00:00Z",
- "maxAttempts": 3,
- "externalId": "123",
- "metadata": {
- "key": "value"
}, - "createdAt": "2022-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z"
}find a pre transaction
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "id": "KaEVV7UOJOzB2QH2zPrkz",
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "status": "active",
- "description": "payment for a service",
- "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 5000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-10-25T20:00:00.000Z",
- "estimatedDeliveryDate": "2021-10-25T20:00:00.000Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "amount": 5000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "transactions": [
- {
- "id": "713044c6706f4d28a90fd",
- "method": "pix",
- "status": "created"
}
], - "expirationDate": "2022-01-01T00:00:00Z",
- "maxAttempts": 3,
- "externalId": "123",
- "metadata": {
- "key": "value"
}, - "createdAt": "2022-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z"
}cancel a pre transaction
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "id": "KaEVV7UOJOzB2QH2zPrkz",
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "status": "active",
- "description": "payment for a service",
- "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "shipping": {
- "amount": 5000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-10-25T20:00:00.000Z",
- "estimatedDeliveryDate": "2021-10-25T20:00:00.000Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "amount": 5000,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "transactions": [
- {
- "id": "713044c6706f4d28a90fd",
- "method": "pix",
- "status": "created"
}
], - "expirationDate": "2022-01-01T00:00:00Z",
- "maxAttempts": 3,
- "externalId": "123",
- "metadata": {
- "key": "value"
}, - "createdAt": "2022-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z"
}create a registration
| documentNumber required | string cpf or cnpj number without punctuation |
| documentType required | string Enum: "cpf" "cnpj" cpf or cnpj |
{- "documentNumber": "88550339997",
- "documentType": "cpf"
}{- "id": "mbWVijmG5JTUSi4PQZVKv",
- "documentNumber": "88550339997",
- "documentType": "cpf",
- "status": "pending",
- "statusMessage": "status message",
- "createdAt": "2022-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z"
}[- {
- "id": "mbWVijmG5JTUSi4PQZVKv",
- "documentNumber": "88550339997",
- "documentType": "cpf",
- "status": "pending",
- "statusMessage": "status message",
- "createdAt": "2022-01-01T00:00:00Z",
- "updatedAt": "2022-01-01T00:00:00Z"
}
]create a transaction
| 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 |
{- "method": "pix",
- "methodSettings": {
- "expiresIn": 3600,
- "additionalInfo": [
- {
- "key": "key",
- "value": "value"
}
], - "payerRequest": "payment for the best store"
}, - "items": [
- {
- "description": "product description",
- "amount": 1000,
- "quantity": 1,
- "category": "product",
- "code": "123"
}
], - "shipping": {
- "amount": 1000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-12-31T23:59:59.999Z",
- "estimatedDeliveryDate": "2021-12-31T23:59:59.999Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "externalId": "123",
- "externalSaleChannel": "ecommerce",
- "metadata": {
- "key": "value"
}, - "amount": 1000,
- "customer": {
- "companyName": "Company Name",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "splits": [
- {
- "merchantId": "EngmKkhbAoJhM0RPUQd6a",
- "amount": 1000,
- "isFeePayer": true
}
]
}{- "id": "gnQjJatJSrhxaGtXeTuDd",
- "merchantId": "CRutyJmJHin46NXnRdCjN",
- "preTransactionId": "eDNSaEjdyKFUYZBLGjqXH",
- "providerId": "b8d32335507746d381daf2d38db89111c496089b15",
- "status": "paid",
- "statusMessage": "changed status",
- "statusHistory": [
- {
- "status": "paid",
- "message": "transaction paid",
- "createdAt": "2021-10-25T20:00:00.000Z"
}
], - "method": "pix",
- "methodSettings": {
- "expiresIn": 3600,
- "additionalInfo": [
- {
- "key": "key",
- "value": "value"
}
], - "payerRequest": "payer request"
}, - "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "refunds": [
- {
- "id": "blPQsK6dOKOo08OoKyBF1",
- "amount": 1000,
- "status": "refunded",
- "statusMessage": "refunded succesfully",
- "statusHistory": [
- {
- "status": "refunded",
- "message": "refunded succesfully",
- "createdAt": "2021-10-25T20:00:00.000Z"
}
], - "refundedAt": "2021-10-25T20:00:00.000Z",
- "refundedData": {
- "rtrId": "E12345678202009091221HGLB62P7kzw"
}, - "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}
], - "shipping": {
- "amount": 5000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-10-25T20:00:00.000Z",
- "estimatedDeliveryDate": "2021-10-25T20:00:00.000Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "methodData": {
- "qrCode": "00020101021126730014br.gov.bcb.pix0136123456789012345600052820MyMerchantName52040000530398654041.005802BR5913MyMerchantName6009SAO PAULO62070503-0506304C6E",
- "expirationDate": "2021-10-25T20:00:00.000Z",
}, - "paidData": {
- "endToEndId": "E03311443202309061908c3oXxJfa7Zn"
}, - "amount": 5000,
- "amountRefunded": 0,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "splits": [
- {
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "amount": 5000,
- "isFeePayer": true
}
], - "externalId": "my_ext_id",
- "externalSaleChannel": "ecommerce",
- "metadata": {
- "key": "value"
}, - "paidAt": "2021-10-25T20:00:00.000Z",
- "antifraudData": {
- "score": 0.8,
- "status": "FRD"
}, - "refundedAt": "2021-10-25T20:00:00.000Z",
- "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}find many transactions
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 |
[- {
- "id": "gnQjJatJSrhxaGtXeTuDd",
- "merchantId": "CRutyJmJHin46NXnRdCjN",
- "preTransactionId": "eDNSaEjdyKFUYZBLGjqXH",
- "providerId": "b8d32335507746d381daf2d38db89111c496089b15",
- "status": "paid",
- "statusMessage": "changed status",
- "statusHistory": [
- {
- "status": "paid",
- "message": "transaction paid",
- "createdAt": "2021-10-25T20:00:00.000Z"
}
], - "method": "pix",
- "methodSettings": {
- "expiresIn": 3600,
- "additionalInfo": [
- {
- "key": "key",
- "value": "value"
}
], - "payerRequest": "payer request"
}, - "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "refunds": [
- {
- "id": "blPQsK6dOKOo08OoKyBF1",
- "amount": 1000,
- "status": "refunded",
- "statusMessage": "refunded succesfully",
- "statusHistory": [
- {
- "status": "refunded",
- "message": "refunded succesfully",
- "createdAt": "2021-10-25T20:00:00.000Z"
}
], - "refundedAt": "2021-10-25T20:00:00.000Z",
- "refundedData": {
- "rtrId": "E12345678202009091221HGLB62P7kzw"
}, - "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}
], - "shipping": {
- "amount": 5000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-10-25T20:00:00.000Z",
- "estimatedDeliveryDate": "2021-10-25T20:00:00.000Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "methodData": {
- "qrCode": "00020101021126730014br.gov.bcb.pix0136123456789012345600052820MyMerchantName52040000530398654041.005802BR5913MyMerchantName6009SAO PAULO62070503-0506304C6E",
- "expirationDate": "2021-10-25T20:00:00.000Z",
}, - "paidData": {
- "endToEndId": "E03311443202309061908c3oXxJfa7Zn"
}, - "amount": 5000,
- "amountRefunded": 0,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "splits": [
- {
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "amount": 5000,
- "isFeePayer": true
}
], - "externalId": "my_ext_id",
- "externalSaleChannel": "ecommerce",
- "metadata": {
- "key": "value"
}, - "paidAt": "2021-10-25T20:00:00.000Z",
- "antifraudData": {
- "score": 0.8,
- "status": "FRD"
}, - "refundedAt": "2021-10-25T20:00:00.000Z",
- "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}
]find a transaction
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "id": "gnQjJatJSrhxaGtXeTuDd",
- "merchantId": "CRutyJmJHin46NXnRdCjN",
- "preTransactionId": "eDNSaEjdyKFUYZBLGjqXH",
- "providerId": "b8d32335507746d381daf2d38db89111c496089b15",
- "status": "paid",
- "statusMessage": "changed status",
- "statusHistory": [
- {
- "status": "paid",
- "message": "transaction paid",
- "createdAt": "2021-10-25T20:00:00.000Z"
}
], - "method": "pix",
- "methodSettings": {
- "expiresIn": 3600,
- "additionalInfo": [
- {
- "key": "key",
- "value": "value"
}
], - "payerRequest": "payer request"
}, - "items": [
- {
- "description": "Soccer ball",
- "amount": 5000,
- "quantity": 1,
- "category": "Sports",
- "code": "sb-001"
}
], - "refunds": [
- {
- "id": "blPQsK6dOKOo08OoKyBF1",
- "amount": 1000,
- "status": "refunded",
- "statusMessage": "refunded succesfully",
- "statusHistory": [
- {
- "status": "refunded",
- "message": "refunded succesfully",
- "createdAt": "2021-10-25T20:00:00.000Z"
}
], - "refundedAt": "2021-10-25T20:00:00.000Z",
- "refundedData": {
- "rtrId": "E12345678202009091221HGLB62P7kzw"
}, - "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}
], - "shipping": {
- "amount": 5000,
- "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "description": "Sedex 10",
- "maxDeliveryDate": "2021-10-25T20:00:00.000Z",
- "estimatedDeliveryDate": "2021-10-25T20:00:00.000Z",
- "recipientName": "John Doe",
- "recipientPhones": [
- "+5511999999999"
]
}, - "methodData": {
- "qrCode": "00020101021126730014br.gov.bcb.pix0136123456789012345600052820MyMerchantName52040000530398654041.005802BR5913MyMerchantName6009SAO PAULO62070503-0506304C6E",
- "expirationDate": "2021-10-25T20:00:00.000Z",
}, - "paidData": {
- "endToEndId": "E03311443202309061908c3oXxJfa7Zn"
}, - "amount": 5000,
- "amountRefunded": 0,
- "customer": {
- "companyName": "Company John",
- "personName": "John Doe",
- "documentType": "cpf",
- "documentNumber": "16142765010",
- "birthdate": "1999-03-01T03:00:00.000Z",
- "gender": "male",
- "phones": [
- "+5511999999999"
], - "address": {
- "line1": "Avenida Brigadeiro Faria Lima",
- "line2": "Edificio Faria Lima 4440, 10 andar",
- "number": "4440",
- "neighborhood": "Vila Olímpia",
- "zipCode": "04538-133",
- "state": "SP",
- "city": "São Paulo",
- "country": "Brasil",
- "ibgeCode": "3550308"
}, - "email": "customer@email.com"
}, - "splits": [
- {
- "merchantId": "KaEVV7UOJOzB2QH2zPrkz",
- "amount": 5000,
- "isFeePayer": true
}
], - "externalId": "my_ext_id",
- "externalSaleChannel": "ecommerce",
- "metadata": {
- "key": "value"
}, - "paidAt": "2021-10-25T20:00:00.000Z",
- "antifraudData": {
- "score": 0.8,
- "status": "FRD"
}, - "refundedAt": "2021-10-25T20:00:00.000Z",
- "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}create a transaction refund
| transactionId required | string transaction id |
{- "id": "blPQsK6dOKOo08OoKyBF1",
- "amount": 1000,
- "status": "refunded",
- "statusMessage": "refunded succesfully",
- "statusHistory": [
- {
- "status": "refunded",
- "message": "refunded succesfully",
- "createdAt": "2021-10-25T20:00:00.000Z"
}
], - "refundedAt": "2021-10-25T20:00:00.000Z",
- "refundedData": {
- "rtrId": "E12345678202009091221HGLB62P7kzw"
}, - "createdAt": "2021-10-25T20:00:00.000Z",
- "updatedAt": "2021-10-25T20:00:00.000Z"
}find many transaction splits
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
[- {
- "id": "lgUbH5A1vpg85zikTViBl",
- "merchantId": "6oR5LdZf7qJjMmxQ2yJyf",
- "isFeePayer": true,
- "documentNumber": "***456789**",
- "tradingName": "My Merchant",
- "payables": [
- {
- "id": "alW3joXi40mN1N6astSdY",
- "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"
}
]
}
]restrict update a transaction chargeback
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
required | object Example: KaEVV7UOJOzB2QH2zPrkz transaction id |
| status required | string Enum: "disputing" "won" "lost" Chargeback status |
{- "status": "won"
}{- "id": "gnQjJatJSrhxaGtXeTuDd",
- "transactionId": "gnQjJatJSrhxaGtXeTuDd",
- "amount": 10000,
- "wonAmount": 8000,
- "status": "pending",
- "statusMessage": "Chargeback is pending review",
- "statusHistory": [
- {
- "status": "pending",
- "message": "Chargeback created and pending review",
- "createdAt": "2025-11-28T18:20:12.975Z"
}
], - "reason": "fraud",
- "requiredDocuments": [
- "TRANSACTION_RECEIPT"
], - "providerData": {
- "chargebackReason": "Compra aprovada sem autorização do portador"
}, - "isGuaranteePaid": false,
- "createdAt": "2025-11-28T18:20:12.975Z",
- "updatedAt": "2025-11-28T18:20:12.975Z"
}find many transaction chargebacks
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 |
[- {
- "id": "gnQjJatJSrhxaGtXeTuDd",
- "transactionId": "gnQjJatJSrhxaGtXeTuDd",
- "amount": 10000,
- "wonAmount": 8000,
- "status": "pending",
- "statusMessage": "Chargeback is pending review",
- "statusHistory": [
- {
- "status": "pending",
- "message": "Chargeback created and pending review",
- "createdAt": "2025-11-28T18:20:12.975Z"
}
], - "reason": "fraud",
- "requiredDocuments": [
- "TRANSACTION_RECEIPT"
], - "providerData": {
- "chargebackReason": "Compra aprovada sem autorização do portador"
}, - "isGuaranteePaid": false,
- "createdAt": "2025-11-28T18:20:12.975Z",
- "updatedAt": "2025-11-28T18:20:12.975Z"
}
]find a transaction chargeback
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
required | object Example: KaEVV7UOJOzB2QH2zPrkz transaction id |
{- "id": "gnQjJatJSrhxaGtXeTuDd",
- "transactionId": "gnQjJatJSrhxaGtXeTuDd",
- "amount": 10000,
- "wonAmount": 8000,
- "status": "pending",
- "statusMessage": "Chargeback is pending review",
- "statusHistory": [
- {
- "status": "pending",
- "message": "Chargeback created and pending review",
- "createdAt": "2025-11-28T18:20:12.975Z"
}
], - "reason": "fraud",
- "requiredDocuments": [
- "TRANSACTION_RECEIPT"
], - "providerData": {
- "chargebackReason": "Compra aprovada sem autorização do portador"
}, - "isGuaranteePaid": false,
- "createdAt": "2025-11-28T18:20:12.975Z",
- "updatedAt": "2025-11-28T18:20:12.975Z"
}upload document for chargeback dispute
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
required | object Example: KaEVV7UOJOzB2QH2zPrkz transaction id |
| file required | string <binary> Document file to upload for the chargeback dispute |
{- "id": "gnQjJatJSrhxaGtXeTuDd",
- "transactionId": "gnQjJatJSrhxaGtXeTuDd",
- "amount": 10000,
- "wonAmount": 8000,
- "status": "pending",
- "statusMessage": "Chargeback is pending review",
- "statusHistory": [
- {
- "status": "pending",
- "message": "Chargeback created and pending review",
- "createdAt": "2025-11-28T18:20:12.975Z"
}
], - "reason": "fraud",
- "requiredDocuments": [
- "TRANSACTION_RECEIPT"
], - "providerData": {
- "chargebackReason": "Compra aprovada sem autorização do portador"
}, - "isGuaranteePaid": false,
- "createdAt": "2025-11-28T18:20:12.975Z",
- "updatedAt": "2025-11-28T18:20:12.975Z"
}create a transfer
| amount required | integer > 0 |
object open field to store information | |
| method required | string Value: "pix" |
{- "amount": 1000,
- "metadata": {
- "key": "value"
}, - "method": "pix"
}{- "id": "hhFHjpKeGTpTJnw2z2jmz",
- "merchantId": "zpBxynBgNCzbdOKmpKG1k",
- "method": "pix",
- "methodDestination": {
- "pixKey": "12345678901",
- "name": "John Doe",
- "bank": "ITAU UNIBANCO",
- "ispb": "60701190",
- "documentNumber": "40980860008",
- "accountType": "Conta Corrente",
- "documentType": "cpf"
}, - "isAutoTransfer": true,
- "amount": 1000,
- "status": "processing",
- "statusMessage": "Processing transfer",
- "statusHistory": {
- "status": "processing",
- "message": "Processing transfer",
- "createdAt": "2021-07-29T14:00:00Z"
}, - "metadata": {
- "key": "value"
}, - "createdAt": "2021-07-29T14:00:00Z",
- "updatedAt": "2021-07-29T14:00:00Z"
}find many transfers
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 |
[- {
- "id": "hhFHjpKeGTpTJnw2z2jmz",
- "merchantId": "zpBxynBgNCzbdOKmpKG1k",
- "method": "pix",
- "methodDestination": {
- "pixKey": "12345678901",
- "name": "John Doe",
- "bank": "ITAU UNIBANCO",
- "ispb": "60701190",
- "documentNumber": "40980860008",
- "accountType": "Conta Corrente",
- "documentType": "cpf"
}, - "isAutoTransfer": true,
- "amount": 1000,
- "status": "processing",
- "statusMessage": "Processing transfer",
- "statusHistory": {
- "status": "processing",
- "message": "Processing transfer",
- "createdAt": "2021-07-29T14:00:00Z"
}, - "metadata": {
- "key": "value"
}, - "createdAt": "2021-07-29T14:00:00Z",
- "updatedAt": "2021-07-29T14:00:00Z"
}
]find a transfer
| id required | string = 21 characters ^[0-9a-zA-Z_]+$ Example: EngmKkhbAoJhM0RPUQd6a unique identifier |
{- "id": "hhFHjpKeGTpTJnw2z2jmz",
- "merchantId": "zpBxynBgNCzbdOKmpKG1k",
- "method": "pix",
- "methodDestination": {
- "pixKey": "12345678901",
- "name": "John Doe",
- "bank": "ITAU UNIBANCO",
- "ispb": "60701190",
- "documentNumber": "40980860008",
- "accountType": "Conta Corrente",
- "documentType": "cpf"
}, - "isAutoTransfer": true,
- "amount": 1000,
- "status": "processing",
- "statusMessage": "Processing transfer",
- "statusHistory": {
- "status": "processing",
- "message": "Processing transfer",
- "createdAt": "2021-07-29T14:00:00Z"
}, - "metadata": {
- "key": "value"
}, - "createdAt": "2021-07-29T14:00:00Z",
- "updatedAt": "2021-07-29T14:00:00Z"
}