POST /v1/transfer/p2p

Este endpoint permite realizar transferências internas entre contas do mesmo banco (P2P) de forma rápida e segura.

Para acessar este endpoint, é necessário fazer uma chamada para a API, especificando os dados de transferência e depois confirmar a transação.

Body

  • from string
  • to object
    Hide to attributes Show to attributes object
    • bank string
    • branch string
    • account string
    • digit string
    • holderName string
    • document string
    • accountType string
  • value number
  • date string
  • description string

Responses

  • 200

    OK

POST /v1/transfer/p2p
curl \
 -X POST https://sandbox.agavos.com.br/v1/transfer/p2p \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"from":"eff3e013afaa21026a7a24d80a481","to":{"branch":"0001","account":"000000","digit":"X"},"value":102.24,"date":"11/04/2023","description":"Transferencia P2P"}'
Request example
{
  "from": "eff3e013afaa21026a7a24d80a481",
  "to": {
    "branch": "0001",
    "account": "000000",
    "digit": "X"
  },
  "value": 102.24,
  "date": "11/04/2023",
  "description": "Transferencia P2P"
}
Request examples
102.24