Create an issuing invoice

POST {{baseInfraUrl}}/{{version}}/issuing-invoice

Create an Issuing Invoice to add cash to your Issuing Balance.

ParametersValue TypeDescription
amountREQUIREDA non-negative integer that represents the amount in cents to be added to your Issuing Balance. Example: amount=100 (R$1.00).
taxIdOPTIONALPayer CPF (11 digits formatted or unformatted) or CNPJ (14 digits formatted or unformatted).
nameOPTIONALPayer full name
tagsOPTIONALList of strings to tag the entity for future queries. All tags will be converted to lowercase

Request Body

{"amount"=>1000, "name"=>"Lamie Lannister", "tags"=>["iron", "bank"], "taxId"=>"012.345.678-90"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"invoice":{"amount":1000,"brcode":"00020101021226930014br.gov.bcb.pix2571invoice-h.development.starkbank.com/v2/99dd6b55a515467d9fe47c6330aa0ed95204000053039865802BR5925Stark Bank S.A. - Institu6009Sao Paulo62070503***6304D1FB","created":"2022-05-17T20:06:11.895751+00:00","due":"2022-05-24T20:06:11.923645+00:00","id":"6329614553055232","issuingTransactionId":null,"link":"https://starkbank-card-issuer.development.starkbank.com/invoicelink/99dd6b55a515467d9fe47c6330aa0ed9","name":"Lamie Lannister","status":"created","tags":["iron","bank"],"taxId":"20.018.183/0001-80","updated":"2022-05-17T20:06:12.341814+00:00"},"message":"Invoice successfully created"}