AtivoPay
  1. Transactions
AtivoPay
  • 🚀 Introdução à API
  • Conta
    • Criar Conta + Empresa
      POST
  • Pix In
    • Criar Transação
      POST
    • Listar Transações
      GET
    • Buscar Transação por ID
      GET
  • Pix Out
    • P2P
      • Criar Transferência P2P
    • Buscar Transferência por ID
      GET
    • Listar Transferências
      GET
    • Criar Transferência
      POST
  • Carteira
    • Buscar Saldo
      GET
  • Envios Webhooks
    • Transação
    • Tranferência (outra titularidade)
    • Tranferência (mesma titularidade)
  • Schemas
    • User
      • Transactions
        • POST /api/user/transactions
  1. Transactions

POST /api/user/transactions

Criar uma nova transação

{
    "amount": 0,
    "currency": "string",
    "paymentMethod": "string",
    "card": {
        "number": "string",
        "holderName": "string",
        "expirationMonth": 0,
        "expirationYear": 0,
        "cvv": "string"
    },
    "installments": 0,
    "customer": {
        "id": "string",
        "name": "string",
        "email": "string",
        "document": {
            "number": "string",
            "type": "string"
        },
        "phone": "string",
        "externalRef": "string",
        "address": {
            "street": "string",
            "streetNumber": "string",
            "complement": "string",
            "zipCode": "string",
            "neighborhood": "string",
            "city": "string",
            "state": "string",
            "country": "string"
        }
    },
    "shipping": {
        "fee": 0,
        "address": {
            "street": "string",
            "streetNumber": "string",
            "complement": "string",
            "zipCode": "string",
            "neighborhood": "string",
            "city": "string",
            "state": "string",
            "country": "string"
        }
    },
    "items": [
        {
            "title": "string",
            "unitPrice": 0,
            "quantity": 0,
            "tangible": true,
            "externalRef": "string"
        }
    ],
    "boleto": {
        "expiresInDays": 0
    },
    "pix": {
        "expiresInDays": 0
    },
    "postbackUrl": "string",
    "metadata": "string",
    "traceable": true,
    "ip": "string"
}
Built with