Skip to main content

Binco Backend B2B API (0.0.1)

Download OpenAPI specification:Download

Binco Backend B2B API

Merchant

Get merchant countries

Retrieve the countries where the merchant can operate, and details about the payment methods available in each country.

Authorizations:
MerchantAuth

Responses

Response samples

Content type
application/json
{
  • "merchant": {
    },
  • "countries": [
    ]
}

Get merchant country details

Retrieve the requested country, and details about the payment methods available in it if available.

Authorizations:
MerchantAuth
path Parameters
countryCode
required
string (Country)
Enum: "ARG" "BRA" "URY"

The country code of the country

Responses

Response samples

Content type
application/json
{
  • "merchant": {
    },
  • "countries": [
    ]
}

Get merchant countries

Retrieve the countries where the merchant can operate, and details about the payment methods available in each country.

Authorizations:
BusinessAuthMerchantAuth
path Parameters
merchantId
required
string <uuid>

The id of the merchant

Responses

Response samples

Content type
application/json
{
  • "merchant": {
    },
  • "countries": [
    ]
}

Get merchant country details

Retrieve the requested country, and details about the payment methods available in it if available.

Authorizations:
BusinessAuthMerchantAuth
path Parameters
countryCode
required
string (Country)
Enum: "ARG" "BRA" "URY"

The country code of the country

merchantId
required
string <uuid>

The id of the merchant

Payment Intent

Get payment intents

Returns the payment intents of the business

Authorizations:
BusinessAuthMerchantAuth

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Create payment intent

Create payment intent for the specified merchant.

Authorizations:
BusinessAuthMerchantAuth
Request Body schema: application/json
required

Payment intent request data

merchantId
string <uuid>
type
string (PaymentIntentType)
Value: "ECO"
externalReference
string
description
string
countryCode
string (Country)
Enum: "ARG" "BRA" "URY"
currency
string (Currency)
Enum: "ARS" "BRL" "CLP" "COP" "MXN" "PEN" "PYG" "USD" "UYU"
amount
number
object
object
includeAllPaymentMethods
boolean
object (PaymentMethodRequestInfo)
redirectUrl
string

Responses

Request samples

Content type
application/json
{
  • "merchantId": "c3073b9d-edd0-49f2-a28d-b7ded8ff9a8b",
  • "type": "ECO",
  • "externalReference": "externalReference123",
  • "description": "Payment for order 123",
  • "countryCode": "ARG",
  • "currency": "ARS",
  • "amount": 100,
  • "amountDetails": {
    },
  • "invoiceDetails": {
    },
  • "includeAllPaymentMethods": false,
  • "paymentMethods": {
    },
}

Response samples

Content type
application/json
{
  • "paymentIntentId": "581555e2-a6b3-491a-a53d-1889417293ca",
  • "merchant": {
    },
  • "type": "ECO",
  • "externalReference": "externalReference123",
  • "description": "Payment for order 123",
  • "currency": "ARS",
  • "amount": 100,
  • "amountDetails": {
    },
  • "invoiceDetails": {
    },
  • "includeAllPaymentMethods": false,
  • "paymentMethod": {
    },
  • "availablePaymentMethods": [
    ],
  • "status": {
    },
  • "createdAt": "string",
  • "nextAction": {}
}

Get payment intent details

Retrieve the requested payment intent.

Authorizations:
BusinessAuthMerchantAuth
path Parameters
paymentIntentId
required
string <uuid>

The id of the payment intent

Responses

Response samples

Content type
application/json
{
  • "paymentIntentId": "581555e2-a6b3-491a-a53d-1889417293ca",
  • "merchant": {
    },
  • "type": "ECO",
  • "externalReference": "externalReference123",
  • "description": "Payment for order 123",
  • "currency": "ARS",
  • "amount": 100,
  • "amountDetails": {
    },
  • "invoiceDetails": {
    },
  • "includeAllPaymentMethods": false,
  • "paymentMethod": {
    },
  • "availablePaymentMethods": [
    ],
  • "status": {
    },
  • "createdAt": "string",
  • "nextAction": {}
}