Criar QRCode Estático


Através desse endpoint será possível criar um QRCode Pix estático.

POST https://sandbox-api.openbank.stone.com.br/api/v1/pix_payment_static_invoices

HEADERS

authorization* string
Bearer token de autenticação.

x-stone-idempotency-key* string
Chave de idempotência.


BODY PARAMS


transaction_id* string
Validação: “^[a-zA-Z0-9]{26,35}$”

account_id string

additional_information string

amount integer

key* string


Response

201 OK
{
  "id": "<uuid>",
  "account_id": "<uuid>",
  "participant_ispb": "<string>",
  "key": "<string>",
  "key_type": "<string>",
  "transaction_id": "<string>",
  "amount": "<integer>",
  "additional_information": "<string>",  
  "request_id": "<string>",
  "created_at": "<datetime_iso8601>",
  "updated_at": "<datetime_iso8601>",
  "created_by": "<string>",
  "last_updated_by": "<string>",
  "qr_code_content": "<string>",
  "qr_code_image": "<string>"
}

Última modificação: 19.09.2021