Financeiro

Criar pagamento

Criar pagamento

post/payment

Request

  • Base URL
    https://api-gateway-v2.registrorural.com.br
  • Auth
    API key in header X-API-Key

Request body

typestring

Example request

{
  "type": "pix"
}

Response

Sucesso

amountnumber
descriptionstring
pixCopyPastestring
transaction_idstring
typestring

Example response

{
  "amount": 999,
  "description": "Compra de Créditos",
  "pixCopyPaste": "0000000000EXAMPL3F4K3DATA1234567890EXAMPL3F4K3DATA1234567890EXAMPL3F4K3DATA1234567890EXAMPL3",
  "transaction_id": "d61036e55de9488da1894bf55eccbb01",
  "type": "pix"
}

Changes

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