Bynet
  1. Transfers
Bynet
  • 🚀 Introdução à API
  • 📦 Criar Pedido
  • My company
    • Get all data
      GET
    • Update
      PUT
    • Update documents
      PUT
    • Get by ID
      GET
    • Update other info
      PUT
  • Products
    • Create
      POST
    • Find All
      GET
    • Find by ID
      GET
    • Update
      PUT
    • Delete
      DELETE
    • Update Status
      PUT
  • Bank
    • Create
      POST
    • Find all
      GET
    • Find by ID
      GET
    • Find pre bank
      GET
  • Transactions
    • Find All
      GET
    • Create
      POST
    • Find by ID
      GET
    • Update delivery status
      PUT
    • Export Excel
      POST
    • Summary all
      GET
    • Fee
      POST
    • Summary by ID
      GET
  • Checkout
    • Layouts
      • Create Layout
      • Find
      • Update settings
      • Update status
      • Find by ID
    • Find info
    • Create Order
    • Find info order
    • Find payment methods by ID
    • Create payment
    • Find payment methods
  • Transfers
    • Create
      POST
    • Update
      POST
    • Find all
      GET
    • Find by ID
      GET
    • summary
      GET
  • Cashout
    • Create
    • Find all
    • Find by ID
  • Customers
    • Find all
    • Find by ID
  • Balance
    • Find
    • Summary
    • Find finalcial reserve
  • Webhook
    • ⚙️ Webhook: Formato de Postback
    • Create
    • Find all
    • Find by ID
    • Update
    • Delete
  1. Transfers

Create

POST
/api/user/transfers
Este endpoint permite realizar uma transferência de valores para uma conta previamente cadastrada por um recebedor autenticado.
A transferência pode ser feita via PIX ou Transferência Bancária (BANK_TRANSFER), dependendo do método especificado.

✅ Requisitos da Requisição#

Método HTTP: POST
Endpoint: /api/user/transfers
Content-Type: application/json
Autenticação: api_token

🧠 Header da requisição#

CampoTipoObrigatórioDescrição
x-api-keystringSimToken de autenticação API Key
User-AgentAtivoB2B/1.0Sim

📥 Corpo da Requisição (Request Body)#

CampoTipoObrigatórioDescrição
amountnumberSimValor a ser transferido em centavos ou na unidade monetária definida.
methodstringSimMétodo da transferência: PIX ou BANK_TRANSFER.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/user/transfers' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0' \
--header 'Content-Type: application/json' \
--data-raw '{
  "amount": 100,
  "method": "PIX"
}'
Response Response Example
200 - Success
{
    "message": "Transferência realizada com sucesso.",
    "data": {
        "transfer": [
            {
                "id": "********-****-****-****-************",
                "amount": 500,
                "type": "PIX",
                "status": "INPROCESS",
                "fee": 0,
                "externalRef": null,
                "pixKey": "*************",
                "paidAt": null,
                "typePayment": null,
                "refundedAmount": 0,
                "description": null,
                "receiptUrl": null,
                "endToEndId": null,
                "error": null,
                "payeeId": null,
                "sellerId": "********-****-****-****-************",
                "gatewayId": "********-****-****-****-************",
                "subAccountId": null,
                "createdAt": "2025-04-16T17:46:32.084Z",
                "updatedAt": "2025-04-16T17:46:32.135Z"
            }
        ]
    },
    "status": 200,
    "error": null
}
Modified at 2025-07-23 19:02:40
Previous
Find payment methods
Next
Update
Built with