Create Pix requests

POST {{baseInfraUrl}}/{{version}}/pix-request

Send Pix Requests to accounts hosted in other Pix participants. Direction: Outbound.

ParametersValue TypeDescription
amountREQUIREDA positive integer that represents the amount in cents to be transferred. Example: amount=100 (R$1.00).
externalIdREQUIREDSafe string that must be unique among all your Pix Requests. Example: externalId=my-unique-id-12345678.
senderNameREQUIREDSender's full name. Example: senderName=Anthony Edward Stark.
senderTaxIdREQUIREDSender's taxId (CPF/CNPJ). Example: senderTaxId=01.001.001/0001-01.
senderBranchCodeREQUIREDSender's bank account branch code. Example: senderBranchCode=1234.
senderAccountNumberREQUIREDSender's account number. Example: senderAccountNumber=76543.
senderAccountTypeREQUIREDSender's account type. Options: checking, savings, salary and payment.
receiverNameREQUIREDArray of strings to tag the entity for future queries. All tags will be converted to lowercase.
receiverTaxIdREQUIREDReceiver's taxId (CPF/CNPJ). Example: receiverTaxId=01.001.001/0001-01.
receiverBankCodeREQUIREDReceiver's bank code. Example: receiverBankCode=20018183.
receiverAccountNumberREQUIREDReceiver's account number. Example: receiverAccountNumber=76543.
receiverBranchCodeREQUIREDReceiver's bank account branch code. Example: receiverBranchCode=1234.
receiverAccountTypeREQUIREDReceiver's account type. Options: checking, savings, salary and payment.
endToEndIdREQUIREDCentral Bank's unique transaction id. Example: endToEndId=E00002649202201172211u34srod19le.
receiverKeyIdOPTIONALReceiver's Pix Key id. Can be a taxId (CPF/CNPJ), a phone number, an email or a alphanumeric sequence (EVP). Example: receiverKeyId=+5511989898989
reconciliationIdOPTIONALReconciliation id linked to this payment. Example: b77f5236-7ab9-4487-9f95-66ee6eaf1781
descriptionOPTIONALAdditional information to be delivered to the receiver.
initiatorTaxIdOPTIONALPayment initiator's taxId (CPF/CNPJ). Example: 20.018.183/0001-80
cashAmountOPTIONALAmount to be withdrawal from the cashier in cents. Example: 1000 (= R$ 10.00)
cashierBankCodeOPTIONALCashier's bank code. Example: 20018183
cashierTypeOPTIONALCashier's type. Options: merchant, participant and other
tagsOPTIONALList of strings to tag the entity for future queries. All tags will be converted to lowercase.
methodOPTIONALMethod used to retrieve receiver's account information. Options: manual, dict, initiator, dynamicQrcode, staticQrcode and payerQrcode

Request Body

{"requests"=>[{"amount"=>10000, "cashAmount"=>100, "cashierBankCode"=>"20018183", "cashierType"=>"merchant", "description"=>"A Lannister always pays his debts", "endToEndId"=>"E35547753202201201450u34sDGd19l2", "externalId"=>"my_unique_id_2", "receiverAccountNumber"=>"00000", "receiverAccountType"=>"checking", "receiverBankCode"=>"20018183", "receiverBranchCode"=>"0001", "receiverName"=>"Arya Stark", "receiverTaxId"=>"012.345.678-90", "senderAccountNumber"=>"00000", "senderAccountType"=>"checking", "senderBranchCode"=>"0000", "senderName"=>"jamie Lannister", "senderTaxId"=>"594.739.480-42", "tags"=>["lannister", "chargeback"]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"message":"Pix request successfully created","requests":[{"amount":10000,"cashAmount":100,"cashierBankCode":"20018183","cashierType":"merchant","created":"2022-05-17T18:58:38.092412+00:00","description":"A Lannister always pays his debts","endToEndId":"E35547753202201201450u34sDGd19l3","externalId":"my_unique_id_1","fee":0,"flow":"out","id":"5632510516002816","initiatorTaxId":"","method":"manual","receiverAccountNumber":"00000","receiverAccountType":"checking","receiverBankCode":"20018183","receiverBranchCode":"0001","receiverKeyId":"","receiverName":"Arya Stark","receiverTaxId":"012.345.678-90","reconciliationId":"","senderAccountNumber":"00000","senderAccountType":"checking","senderBankCode":"35547753","senderBranchCode":"0000","senderName":"jamie Lannister","senderTaxId":"594.739.480-42","status":"created","tags":["lannister","chargeback"],"updated":"2022-05-17T18:58:38.092426+00:00"}]}