Transactions

Create a transaction and make the payment directly with a Pix

Create a transaction and make the payment directly with a Pix

post/v1/transactions/pix

Request body

reference_idstring required

Reference ID of your application VARCHAR(500)

transaction_limit_datestring required

Deadline to use this transaction for payment

transaction_descriptionstring

Description of the sale for payment

sandboxboolean required

Defines whether the account is in test or production mode

is_pinpad_transactionboolean

Defines that a transaction is pinpad. In this case, the transaction may respect some specific parameters, such as a different pix fees

notification_urlstring required

URL that will receive a POST call when the transaction changes

Example request

{
  "reference_id": "my_ref_518",
  "transaction_limit_date": "2027-09-01",
  "transaction_description": "Sale of tickets for the show on the 30th",
  "sandbox": true,
  "transaction_items": [
    {
      "item": "Tuition",
      "amount": "80000",
      "reference": "11/12",
      "note": "November tuition"
    }
  ],
  "transaction_details": {
    "amount": 10000,
    "due_date": "2026-10-01",
    "payment_limit_date": "2027-01-01",
    "body_instructions": [
      "Do not allow payment after 2027-01-01"
    ],
    "late_fee": {
      "mode": "PERCENTAGE",
      "amount": "2.00"
    },
    "interest": {
      "mode": "DAILY_PERCENTAGE",
      "amount": "0.033"
    },
    "discount": {
      "mode": "FIXED",
      "date_1": "2026-09-21",
      "amount_1": 3000,
      "date_2": "2026-09-25",
      "amount_2": 2500,
      "date_3": "2026-09-27",
      "amount_3": 2000
    }
  },
  "split_rules": [
    {
      "amount": 9550,
      "percentage": "0.1234",
      "processing_fee": "MAIN"
    }
  ],
  "notification_url": "https://api.domain.com.br/v1/edubank-notification"
}

Response

The object has been successfully created

status_codenumber required

Status code

transaction_idstring required

Edubank transaction id

transaction_typestring required

Type of transaction performed. CARD/PIX/BANK_SLIP/BANK_SLIP_PIX

statusstring required

Current transaction status

payment_idstring required

Payment id

bank_slip_digitable_linestring

Digitable line for payment slip

pix_qrcodestring

Pix qrcode

pix_base64string

Pix qrcode image in base64

pix_expirationstring

Pix expiration

Example response

{
  "status_code": 200
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.