Sulpayments API documentation (1.0.0)

Download OpenAPI specification:

Authentication

These APIs use Mutual TLS as authentication method.

This method requires both the client and the server to confirm their identity with a certificate. Once the identity of both parties is confirmed, an encrypted connection is established.

Ask for a certificate in order to access the functionalities of the api.

If you are using postman here is an example on how to work with certificates in Postman

Find below an example on how to make a request using the certificate given.

// typescript
import axios from "axios";
import https from "https";
import fs from "fs";

const serverURL = "https://my.server";
const pfxPath = "/path/to/client.pfx"; // Replace with the path to your PFX file

const agent = new https.Agent({
  pfx: fs.readFileSync(pfxPath),
  passphrase: "your_pfx_file_password", // Replace with the password for your PFX file, if applicable
});
const requestData = {
  // Your request payload here
};
axios
  .post(serverURL, requestData, { httpsAgent: agent })
  .then((response) => {
    console.log("Response:", response.data);
  })
  .catch((error) => {
    console.error("Request error:", error.message);
  });

Payment Process Using Credit Card

To complete the payment using a credit card, the following flow must be followed (see the illustrative diagrams below for better understanding):

credit card payment flow successful flow

In the first scenario:

  1. The first request is sent to the endpoint /order/v1/client-token-3ds/card-token with the necessary data for token generation (refer to the documentation below for request details).
  2. With the token generated using the card and user data, the second request is made to the endpoint /order/v3/transparent to finalize the order, populating the specialPaymentDetails.card3DSToken field with the token generated in step 1.
  3. The payment is either PAID or CANCELED synchronously, and the response is returned to the client.

credit card payment with challenge flow

In the second scenario:

  1. The first request is sent to the endpoint /order/v1/client-token-3ds/card-token with the necessary data for token generation (refer to the documentation below for request details).
  2. With the token generated using the card and user data, the second request is made to the endpoint /order/v3/transparent to finalize the order, populating the specialPaymentDetails.card3DSToken field with the token generated in step 1.
  3. If the payment status returned in step 2 is ANALYSIS, a challenge URL (field challengeUrl) is included in the response payload to the client. The user must be redirected to this URL to complete the challenge process on his bank.
  4. After the user completes the challenge, the payment is confirmed via webhook notification to the client.

Authentication Token

Token

Azure Entra application authentication token.

Request Body schema: application/json
required
clientSecret
required
string

Client secret.

clientId
required
string

Client Id of the application.

scopes
required
Array of strings

List of scopes.

Responses

Request samples

Content type
application/json
{
  • "clientSecret": "3ViXGN1Hx95YyQDItLeGLRyIw6xdC4",
  • "clientId": "afefb19c-dcee-4d9d-a6b4-125f62f7e090",
  • "scopes": [
    ]
}

Response samples

Content type
application/json
{
  • "tokenType": "string",
  • "expiresIn": 0,
  • "token": "string"
}

Postback

Your postback notification for an order.

Every time a transaction has its status changed, your system will receive a notification from ours, so that you know if transactions were paid.

We expect that your system returns to ours: status code 200. If not, we'll retry 6 more times.

Request Body schema: application/json
required
id
required
string

The id of the order of which to retrieve the details.

code
required
string

Order id in your system.

status
required
string
Enum: "PENDING" "PAID" "EXPIRED" "REFUNDED" "CANCELED" "ERROR"

Order status.

paidAt
required
string

The date the order was paid.

updatedAt
required
string

The date the order was updated.

type
required
string
Enum: "PAY-IN" "PAY-OUT" "REFUND"

The webhook order type.

message
string

The message.

object or null

The owner bank. Returns data only when payment method is PIX

object or null

The payer bank data.

Responses

Request samples

Content type
application/json
{
  • "id": "de05f0db-e6a3-462e-8f1c-8dc8dd07c278",
  • "code": "2345678726",
  • "status": "PAID",
  • "paidAt": "2022-12-17T11:35:51.923Z",
  • "updatedAt": "2022-12-17T11:35:51.923Z",
  • "type": "PAY-IN",
  • "message": "Order paid",
  • "ownerBank": {
    },
  • "payer": {
    }
}

Response samples

Content type
application/json
{
  • "returnCode": "SUCCESS"
}

Your postback notification for a checkout order.

Every time a transaction has its status changed, your system will receive a notification from ours, so that you know if transactions were paid.

We expect that your system returns to ours: status code 200. If not, we'll retry 6 more times.

Request Body schema: application/json
required
id
required
string

The id of the checkout order of which to retrieve the details.

code
required
string

Order id in your system.

status
required
string
Enum: "PENDING" "PAID" "EXPIRED" "REFUNDED" "CANCELED" "ERROR"

Order status.

paidAt
required
string

The date the order was paid.

updatedAt
required
string

The date the order was updated.

type
required
string
Enum: "PAY-IN" "PAY-OUT" "REFUND"

The webhook order type.

message
string

The message.

object or null

The owner bank. Returns data only when payment method is PIX

object or null

The payer bank data.

orderId
required
string

The id of the order of which to retrieve the details.

Responses

Request samples

Content type
application/json
{
  • "id": "550e8400-e29b-41d4-a716-446655440000",
  • "code": "2345678726",
  • "status": "PAID",
  • "paidAt": "2022-12-17T11:35:51.923Z",
  • "updatedAt": "2022-12-17T11:35:51.923Z",
  • "type": "PAY-IN",
  • "message": "Order paid",
  • "ownerBank": {
    },
  • "payer": {
    },
  • "orderId": "de05f0db-e6a3-462e-8f1c-8dc8dd07c278"
}

Response samples

Content type
application/json
{
  • "returnCode": "SUCCESS"
}

Order

Get a list of your orders

Get a list of your orders based the data entered as a filter.

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
query Parameters
id
string

Unique identifier of the order.

idempotencyKey
string

IdempotencyKey to filter.

code
string

Order code.

customerEmail
string

Customer email.

customerName
string

Customer name

customerDocumentNumber
string

Customer document number

status
string
Enum: "INITIAL" "PENDING" "PAID" "EXPIRED" "ANALYSIS" "REFUNDED" "PARTIAL_REFUNDED" "CANCELED" "ERROR"
Example: status=PAID

Order status.

paymentMethod
string
Enum: "PIX" "BINANCE_PAY" "CREDIT_CARD" "CASH" "SPEI" "OXXO" "PAYNET"
Example: paymentMethod=BINANCE_PAY

Payment method.

startDate
required
string
Example: startDate=2022-18-12

The search start date, in the following format YYYY-MM-DD. It is required if no id, code, or idempotency key is provided.

endDate
required
string
Example: endDate=2022-18-12

The search end date, in the following format YYYY-MM-DD. It is required if no id, code, or idempotency key is provided

sortBy
required
string
Enum: "createdAt" "paidAt" "refundedAt"
Example: sortBy=createdAt

Field to be used as sort.

direction
required
string
Enum: "ASC" "DESC"
Example: direction=DESC

Direction of the sort.

page
required
string
Example: page=1

The page to return.

perPage
required
string
Example: perPage=20

The record count per page.

Responses

Response samples

Content type
application/json
{}

Check transaction status

You can check the transaction status at any time.

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{}

Create Transparent Order - V1 Deprecated

The transaction is called transparent as it has no interface and/or screen that your customer should interact with.

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The customer of the order.

required
object

The order details.

required
object

The merchant of the order.

Responses

Request samples

Content type
application/json
{
  • "customer": {
    },
  • "order": {},
  • "merchant": {
    }
}

Response samples

Content type
application/json
{}

Refund an order - V1 Deprecated

Refund an order by the way only order with payment methods BINANCE_PAY, PIX and SPEI are allowed to refund. For other payment methods, we are implementing them.

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
orderId
required
string

Order id

reason
required
string [ 5 .. 100 ] characters

Reason for Refund.

For orders of Mexico the reason must be one of the follwoing values bellow:

  • DUPLICATE
  • FRAUDULENT
  • REQUESTED_BY_CUSTOMER
  • OTHER
required
object

Who requested the refund

Responses

Request samples

Content type
application/json
{
  • "orderId": "314c2465-2e6a-43bb-baf7-3e3345d16680",
  • "reason": "Customer requested or order was not delivered",
  • "requestedBy": {}
}

Response samples

Content type
application/json
{
  • "id": "2138f773-18f1-4ef3-81a2-d815a2c70e73",
  • "orderId": "c92a4671-1661-4e7b-87ee-c137987c6df3",
  • "amount": 100,
  • "reason": "Customer requested or order was not delivered",
  • "requestedBy": "[email protected]",
  • "status": "INITIAL",
  • "createdAt": "2021-01-01T00:00:00.000Z",
  • "endToEndId": "string"
}

Get refund by id

Returns a refund information

Authorizations:
Bearer
path Parameters
refundId
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "2138f773-18f1-4ef3-81a2-d815a2c70e73",
  • "orderId": "c92a4671-1661-4e7b-87ee-c137987c6df3",
  • "amount": 100,
  • "reason": "Customer requested or order was not delivered",
  • "requestedBy": "[email protected]",
  • "status": "INITIAL",
  • "createdAt": "2021-01-01T00:00:00.000Z",
  • "endToEndId": "string"
}

Get refunds by filter

Returns the information of all refunds according to the filter

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
query Parameters
id
string
Example: id=1ef64feb-4697-4458-990f-58c338b45588

The id of the refund

idempotencyKey
string
Example: idempotencyKey=1ef64feb-4697-4458-990f-58c338b45588

The idempotency key of the refund

status
string
Enum: "INITIAL" "PROCESSING" "SUCCESS" "ERROR" "REJECTED"
Example: status=SUCCESS

The status of the refund

orderId
string
Example: orderId=1ef64feb-4697-4458-990f-58c338b45588

The id of the order

startDate
required
string
Example: startDate=2022-18-12

The search start date, in the following format YYYY-MM-DD. It is required if no id, order id, or idempotency key is provided.

endDate
required
string
Example: endDate=2022-18-12

The search end date, in the following format YYYY-MM-DD. It is required if no id, order id, or idempotency key is provided

page
required
string
Example: page=1

The page to return.

perPage
required
string
Example: perPage=20

The record count per page.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create Transparent Order - V2 Deprecated

The transaction is called transparent as it has no interface and/or screen that your customer should interact with.

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The customer of the order.

required
object

The order details.

Responses

Request samples

Content type
application/json
{
  • "customer": {
    },
  • "order": {}
}

Response samples

Content type
application/json
{}

Refund an order - V2

Refund an order

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
orderId
required
string

Order id

reason
required
string [ 5 .. 100 ] characters

Reason for Refund.

For orders of Mexico the reason must be one of the follwoing values bellow:

  • DUPLICATE
  • FRAUDULENT
  • REQUESTED_BY_CUSTOMER
  • OTHER
required
object

Who requested the refund

amount
required
string

Amount

Responses

Request samples

Content type
application/json
{
  • "orderId": "314c2465-2e6a-43bb-baf7-3e3345d16680",
  • "reason": "Customer requested or order was not delivered",
  • "requestedBy": {},
  • "amount": "10.40"
}

Response samples

Content type
application/json
{
  • "id": "2138f773-18f1-4ef3-81a2-d815a2c70e73",
  • "orderId": "c92a4671-1661-4e7b-87ee-c137987c6df3",
  • "amount": 100,
  • "reason": "Customer requested or order was not delivered",
  • "requestedBy": "[email protected]",
  • "status": "INITIAL",
  • "createdAt": "2021-01-01T00:00:00.000Z",
  • "endToEndId": "string"
}

Create Transparent Order - V3

The transaction is called transparent as it has no interface and/or screen that your customer should interact with. This version all order will be validated by AML process, to prevent frauds.

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The customer of the order.

required
object

The order details.

Responses

Request samples

Content type
application/json
{
  • "customer": {
    },
  • "order": {}
}

Response samples

Content type
application/json
{}

Payout

Brazil payout - V1 Deprecated

  Request a payout for Brazil country
  

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The payout amount

paymentMethod
string
Enum: "PIX" "TED" "TETHER"

Payment Method

required
object

The payout customer

required
object

The payout bank information

OBS: If you send this pix data, you don't need to send the account data or vice-versa

object

Crypto

description
required
string

The payout description.

webhookUrl
required
string

The webhook url to receive the payout status

code
required
string

Order id in your system.

Responses

Request samples

Content type
application/json
{
  • "amount": {
    },
  • "paymentMethod": "PIX",
  • "customer": {
    },
  • "bank": {
    },
  • "crypto": {
    },
  • "description": "string",
  • "code": "order_id_in_your_system"
}

Response samples

Content type
application/json
{
  • "id": "eddd9369-37c5-4fe5-8d74-faa8b0f25053",
  • "amount": "string",
  • "status": "PAID",
  • "fee": {
    },
  • "errorMessage": "string",
  • "createdAt": "2025-10-28T19:09:02.669Z"
}

Get Brazil payout data by id

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "4b6bbdcc-13dc-4c0d-9ec7-9cf279225cdc",
  • "idempotencyKey": "482d35cd-a2dd-4cab-b367-6ba9a8cc4e94",
  • "description": "Customer withdraw",
  • "amount": "100.00",
  • "status": "PAID",
  • "errorMessage": "An unexpected error occurred",
  • "createdAt": "2025-10-28T19:09:07.190Z",
  • "crypto": {
    },
  • "paymentMethod": "PIX",
  • "bank": {
    },
  • "customer": {
    },
  • "owner": {
    },
  • "endToEndId": "435aea06-0e59-4576-b550-7ecb07ff10ab",
  • "receiver": {
    },
  • "fee": {
    }
}

Get Brazil payout data by idepotency key

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
path Parameters
idempotencyKey
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "4b6bbdcc-13dc-4c0d-9ec7-9cf279225cdc",
  • "idempotencyKey": "482d35cd-a2dd-4cab-b367-6ba9a8cc4e94",
  • "description": "Customer withdraw",
  • "amount": "100.00",
  • "status": "PAID",
  • "errorMessage": "An unexpected error occurred",
  • "createdAt": "2025-10-28T19:09:07.190Z",
  • "crypto": {
    },
  • "paymentMethod": "PIX",
  • "bank": {
    },
  • "customer": {
    },
  • "owner": {
    },
  • "endToEndId": "435aea06-0e59-4576-b550-7ecb07ff10ab",
  • "receiver": {
    },
  • "fee": {
    }
}

Mexico payout - V1

  Request a payout for Mexico country
  
  

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The payout amount

required
object

The payout customer

paymentMethod
string
Enum: "SPEI" "KIOSKO" "TETHER"

Payment Method

required
object

The payout bank information

object

Crypto

description
required
string

The payout description.

webhookUrl
required
string

The webhook url to receive the payout status

code
required
string

Order id in your system.

Responses

Request samples

Content type
application/json
{
  • "amount": {
    },
  • "customer": {
    },
  • "paymentMethod": "SPEI",
  • "bank": {
    },
  • "crypto": {
    },
  • "description": "string",
  • "code": "order_id_in_your_system"
}

Response samples

Content type
application/json
{
  • "id": "eddd9369-37c5-4fe5-8d74-faa8b0f25053",
  • "amount": "string",
  • "status": "PAID",
  • "fee": {
    },
  • "errorMessage": "string",
  • "createdAt": "2025-10-28T19:09:02.669Z"
}

Get Mexico payout data by id

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "4b6bbdcc-13dc-4c0d-9ec7-9cf279225cdc",
  • "idempotencyKey": "482d35cd-a2dd-4cab-b367-6ba9a8cc4e94",
  • "description": "Customer withdraw",
  • "amount": "100.00",
  • "status": "PAID",
  • "errorMessage": "An unexpected error occurred",
  • "createdAt": "2025-10-28T19:09:07.190Z",
  • "crypto": {
    },
  • "financialPartner": "GAMECASH",
  • "paymentMethod": "SPEI",
  • "customer": {
    },
  • "bank": {
    }
}

Brazil payout - V2

  Request a payout for Brazil country
  

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The payout amount

paymentMethod
string
Enum: "PIX" "TED" "TETHER"

Payment Method

required
object

The payout customer

required
object

The payout bank information

OBS: If you send this pix data, you don't need to send the account data or vice-versa

object

Crypto

description
required
string

The payout description.

webhookUrl
required
string

The webhook url to receive the payout status

Responses

Request samples

Content type
application/json
{
  • "amount": {
    },
  • "paymentMethod": "PIX",
  • "customer": {
    },
  • "bank": {
    },
  • "crypto": {
    },
  • "description": "string",
}

Response samples

Content type
application/json
{
  • "id": "eddd9369-37c5-4fe5-8d74-faa8b0f25053",
  • "amount": "string",
  • "status": "PAID",
  • "fee": {
    },
  • "errorMessage": "string",
  • "createdAt": "2025-10-28T19:09:02.669Z"
}

Brazil payout - V3

  Request a payout for Brazil country

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The payout amount

paymentMethod
string
Enum: "PIX" "TED" "TETHER"

Payment Method

required
object

The payout customer

required
object

The payout bank information

OBS: If you send this pix data, you don't need to send the account data or vice-versa

object

Crypto

description
required
string

The payout description.

webhookUrl
required
string

The webhook url to receive the payout status

code
required
string

Order id in your system.

Responses

Request samples

Content type
application/json
{
  • "amount": {
    },
  • "paymentMethod": "PIX",
  • "customer": {
    },
  • "bank": {
    },
  • "crypto": {
    },
  • "description": "string",
  • "code": "order_id_in_your_system"
}

Response samples

Content type
application/json
{
  • "id": "eddd9369-37c5-4fe5-8d74-faa8b0f25053",
  • "amount": "string",
  • "status": "PAID",
  • "fee": {
    },
  • "errorMessage": "string",
  • "createdAt": "2025-10-28T19:09:02.669Z"
}

Client Token 3DS

Get 3DS client token Deprecated

Get 3DS client token by provider

path Parameters
provider
required
string
Value: "REDPAY"
Example: REDPAY

The provider name, that you want to get the client token.

Responses

Response samples

Content type
application/json
{
  • "clientToken": "string"
}

Generate card token

Generate card token by Provider

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Request Body schema: application/json
required
object

The card data.

object

The billing address.

required
object

Amount of the transaction.

required
object

The document of the customer.

Responses

Request samples

Content type
application/json
{
  • "card": {
    },
  • "address": {
    },
  • "amount": {
    },
  • "document": {
    }
}

Response samples

Content type
application/json
{
  • "token": "string"
}

Checkout

Create Checkout - V1 Deprecated

Create a Checkout link for payment

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The customer of the checkout.

required
object

The checkout details.

country
required
string
Enum: "AFG" "ALB" "DZA" "ASM" "AND" "AGO" "AIA" "ATA" "ATG" "ARG" "ARM" "ABW" "AUS" "AUT" "AZE" "BHS" "BHR" "BGD" "BRB" "BLR" "BEL" "BLZ" "BEN" "BMU" "BTN" "BOL" "BES" "BIH" "BWA" "BVT" "BRA" "IOT" "BRN" "BGR" "BFA" "BDI" "CPV" "KHM" "CMR" "CAN" "CYM" "CAF" "TCD" "CHL" "CHN" "CXR" "CCK" "COL" "COM" "COG" "COD" "COK" "CRI" "HRV" "CUB" "CUW" "CYP" "CZE" "DNK" "DJI" "DMA" "DOM" "ECU" "EGY" "SLV" "GNQ" "ERI" "EST" "ETH" "FLK" "FRO" "FJI" "FIN" "FRA" "GUF" "PYF" "ATF" "GAB" "GMB" "GEO" "DEU" "GHA" "GIB" "GRC" "GRL" "GRD" "GLP" "GUM" "GTM" "GGY" "GIN" "GNB" "GUY" "HTI" "HMD" "VAT" "HND" "HKG" "HUN" "ISL" "IND" "IDN" "IRN" "IRQ" "IRL" "IMN" "ISR" "ITA" "JAM" "JPN" "JEY" "JOR" "KAZ" "KEN" "KIR" "PRK" "KOR" "KWT" "KGZ" "LAO" "LVA" "LBN" "LSO" "LBR" "LBY" "LIE" "LTU" "LUX" "MAC" "MDG" "MWI" "MYS" "MDV" "MLI" "MLT" "MHL" "MTQ" "MRT" "MUS" "MYT" "MEX" "FSM" "MDA" "MCO" "MNG" "MNE" "MSR" "MAR" "MOZ" "MMR" "NAM" "NRU" "NPL" "NLD" "NCL" "NZL" "NIC" "NER" "NGA" "NIU" "NFK" "MNP" "NOR" "OMN" "PAK" "PLW" "PSE" "PAN" "PNG" "PRY" "PER" "PHL" "PCN" "POL" "PRT" "PRI" "QAT" "REU" "ROU" "RUS" "RWA" "BLM" "SHN" "KNA" "LCA" "MAF" "SPM" "VCT" "WSM" "SMR" "STP" "SAU" "SEN" "SRB" "SYC" "SLE" "SGP" "SXM" "SVK" "SVN" "SLB" "SOM" "ZAF" "SGS" "SSD" "ESP" "LKA" "SDN" "SUR" "SJM" "SWE" "CHE" "SYR" "TWN" "TJK" "TZA" "THA" "TLS" "TGO" "TKL" "TON" "TTO" "TUN" "TUR" "TKM" "TCA" "TUV" "UGA" "UKR" "ARE" "GBR" "USA" "UMI" "URY" "UZB" "VUT" "VEN" "VNM" "VGB" "VIR" "WLF" "ESH" "YEM" "ZMB" "ZWE"

The country of the Merchant

Responses

Request samples

Content type
application/json
{
  • "customer": {
    },
  • "order": {},
  • "country": "BRA"
}

Response samples

Content type
application/json
{}

Get Checkout by id

Get checkout data by id

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
path Parameters
checkoutId
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "customer": {
    },
  • "status": "string",
  • "description": "string",
  • "code": "string",
  • "paymentMethod": "string",
  • "amount": {
    },
  • "country": "string",
  • "redirectUrl": "string",
  • "webhookUrl": "string",
  • "universalLink": "string",
  • "errorMessage": "string"
}

Create Checkout - V2

Create a Checkout link for payment

This version all checkout orders will be validated by AML process, to prevent frauds.

NOTE: Please, to authenticate use the scope: "api://app-order-prd"

Authorizations:
Bearer
header Parameters
idempotency-key
required
string <uuid>

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body schema: application/json
required
required
object

The customer of the checkout.

required
object

The checkout details.

country
required
string
Enum: "AFG" "ALB" "DZA" "ASM" "AND" "AGO" "AIA" "ATA" "ATG" "ARG" "ARM" "ABW" "AUS" "AUT" "AZE" "BHS" "BHR" "BGD" "BRB" "BLR" "BEL" "BLZ" "BEN" "BMU" "BTN" "BOL" "BES" "BIH" "BWA" "BVT" "BRA" "IOT" "BRN" "BGR" "BFA" "BDI" "CPV" "KHM" "CMR" "CAN" "CYM" "CAF" "TCD" "CHL" "CHN" "CXR" "CCK" "COL" "COM" "COG" "COD" "COK" "CRI" "HRV" "CUB" "CUW" "CYP" "CZE" "DNK" "DJI" "DMA" "DOM" "ECU" "EGY" "SLV" "GNQ" "ERI" "EST" "ETH" "FLK" "FRO" "FJI" "FIN" "FRA" "GUF" "PYF" "ATF" "GAB" "GMB" "GEO" "DEU" "GHA" "GIB" "GRC" "GRL" "GRD" "GLP" "GUM" "GTM" "GGY" "GIN" "GNB" "GUY" "HTI" "HMD" "VAT" "HND" "HKG" "HUN" "ISL" "IND" "IDN" "IRN" "IRQ" "IRL" "IMN" "ISR" "ITA" "JAM" "JPN" "JEY" "JOR" "KAZ" "KEN" "KIR" "PRK" "KOR" "KWT" "KGZ" "LAO" "LVA" "LBN" "LSO" "LBR" "LBY" "LIE" "LTU" "LUX" "MAC" "MDG" "MWI" "MYS" "MDV" "MLI" "MLT" "MHL" "MTQ" "MRT" "MUS" "MYT" "MEX" "FSM" "MDA" "MCO" "MNG" "MNE" "MSR" "MAR" "MOZ" "MMR" "NAM" "NRU" "NPL" "NLD" "NCL" "NZL" "NIC" "NER" "NGA" "NIU" "NFK" "MNP" "NOR" "OMN" "PAK" "PLW" "PSE" "PAN" "PNG" "PRY" "PER" "PHL" "PCN" "POL" "PRT" "PRI" "QAT" "REU" "ROU" "RUS" "RWA" "BLM" "SHN" "KNA" "LCA" "MAF" "SPM" "VCT" "WSM" "SMR" "STP" "SAU" "SEN" "SRB" "SYC" "SLE" "SGP" "SXM" "SVK" "SVN" "SLB" "SOM" "ZAF" "SGS" "SSD" "ESP" "LKA" "SDN" "SUR" "SJM" "SWE" "CHE" "SYR" "TWN" "TJK" "TZA" "THA" "TLS" "TGO" "TKL" "TON" "TTO" "TUN" "TUR" "TKM" "TCA" "TUV" "UGA" "UKR" "ARE" "GBR" "USA" "UMI" "URY" "UZB" "VUT" "VEN" "VNM" "VGB" "VIR" "WLF" "ESH" "YEM" "ZMB" "ZWE"

The country of the Merchant

Responses

Request samples

Content type
application/json
{
  • "customer": {
    },
  • "order": {},
  • "country": "BRA"
}

Response samples

Content type
application/json
{}

Account

Get balance

Return holder accounts balance from company authenticated token.

NOTE: Please, to authenticate use the scope: "api://app-account-prd"

Authorizations:
Bearer
query Parameters
accountType
required
string
Enum: "ADMINISTRATIVE" "RESERVE" "ADMINISTRATIVE_OUT" "PAYMENT"

Represents the account type

Responses

Response samples

Content type
application/json
{
  • "id": "53f2774c-7cb4-4e23-9740-22075c920a4c",
  • "fullName": "John Doe",
  • "document": {
    },
  • "country": "BRA",
  • "createdAt": "2021-01-01T00:00:00.000Z",
  • "accounts": [
    ]
}