test.md 23 KB

test from api

1. authentication

DEBUG callApi: POST https://genial-arquitetura-authentication.homolog.api.genial.systems/v1/authentication DEBUG getToken status: 200 DEBUG getToken body: {"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IlRPTy1FQVNZLVRSQURJTkciLCJhZ2VuY2lhIjoiMSIsImNvbnRhU2FjbyI6Ijk4MDEzNDEyOSIsImlkIjoiMjA1NSIsImRvY3VtZW50byI6IjQ3MTc1MjIyMDAwMTA5Iiwibm1FbXByZXNhIjoiVE9PIEVBU1kgVFJBRElORyBDT01NT0RJVElFUyIsIm5iZiI6MTc2MjI4MzU4MCwiZXhwIjoxNzYyMjg0NzgwLCJpYXQiOjE3NjIyODM1ODAsImF1ZCI6IltcIlBJWFwiLFwib3BlcmF0aW9uc1wiLFwiY29yZS1iYW5raW5nXCIsXCJhcGktY29yZWJhbmtcIixcImFwaS1maWxlc1wiLFwiVEVEXCIsXCJURUZcIl0ifQ.DqtTnckjQpUdihNdWHjVOL16SkTZ_YLffXjiubmkaco"}

2. getBalance

DEBUG callApi: GET https://genial-arquitetura-corebank.homolog.api.genial.systems/v1/core-banking/balance/1/980134129 DEBUG status: 200 DEBUG raw: {"data":"2025-11-04T00:00:00","saldoDisponivel":10000000011.0,"saldoDisponivelParaMovimentacao":10000000011.0,"saldoVinculado":0.0,"saldoBloqueado":0.0,"saldoContabil":10000000011.0,"saldoInvestimento":10000000011.0,"saldoAuxilioEmergencial":0.0,"limiteCreditoDisponivel":0.0,"limiteCreditoContratado":0.0} { data: '2025-11-04T00:00:00', saldoDisponivel: 10000000011, saldoDisponivelParaMovimentacao: 10000000011, saldoVinculado: 0, saldoBloqueado: 0, saldoContabil: 10000000011, saldoInvestimento: 10000000011, saldoAuxilioEmergencial: 0, limiteCreditoDisponivel: 0, limiteCreditoContratado: 0 }

3. getDictKey

DEBUG callApi: GET https://gerador-arquitetura-baas.homolog.api.genial.systems/v2/pix/key-account-partner/1/980134129/c4b4824d-46b9-476f-9496-32bb5cde6324 DEBUG status: 200 DEBUG raw: {"key":"c4b4824d-46b9-476f-9496-32bb5cde63","keyType":"EVP","idPixKey":null,"pspIdentification":"45246410","accountHolder":{"taxId":"47.175.222/0001-09","name":"TOO EASY TRADING COMMODITIES"},"status":"ACTIVE","creationDate":"2025-10-27T19:29:32","updateDate":null,"keyLocallyActive":"true","endToEndId":"E45246410202511041914itWqQjnOAXx"} { key: 'c4b4824d-46b9-476f-9496-32bb5cde63', keyType: 'EVP', idPixKey: null, pspIdentification: '45246410', accountHolder: { taxId: '47.175.222/0001-09', name: 'TOO EASY TRADING COMMODITIES' }, status: 'ACTIVE', creationDate: '2025-10-27T19:29:32', updateDate: null, keyLocallyActive: 'true', endToEndId: 'E45246410202511041914itWqQjnOAXx' }

4. Qrcodes

Static

DEBUG callApi: POST https://gerador-arquitetura-baas.homolog.api.genial.systems/v1/pix/qrcode-static/ DEBUG body: {"accountHolderName":"too easy trading","addressingKey":{"key":"c4b4824d-46b9-476f-9496-32bb5cde63","type":"EVP"},"account":"980134129","agency":1} DEBUG status: 201 DEBUG raw: {"data":{"textContent":"00020101021126580014br.gov.bcb.pix0136c4b4824d-46b9-476f-9496-32bb5cde63245204000053039865802BR5916too easy trading6009SAO PAULO62290525ee1a3478186b16b801f82e5b56304AFFC","reference":"ee1a347818"},"error":null} { data: {

textContent: '00020101021126580014br.gov.bcb.pix0136c4b4824d-46b9-476f-9496-32bb5cde63245204000053039865802BR5916too easy trading6009SAO PAULO62290525ee1a3478186b16b801f82e5b56304AFFC',
reference: 'ee1a3478186b16b801f82e5b5'

}, error: null }

dynamic

DEBUG callApi: POST https://gerador-arquitetura-baas.homolog.api.genial.systems/v2/qrcode/dynamic?agency=1&account=980134129 DEBUG body: {"items":[{"addressingKey":{"key":"c4b4824d-46b9-476f-9496-32bb5cde63","type":"EVP"},"accountHolderName":"too easy trading","accountHolderCity":"SAO PAULO","dynamicQRCodeType":"IMMEDIATE","immediate":{"expiration":36000,"paymentValue":{"documentValue":"1","showPaymentValueInQrCode":true},"payerInformation":{"cpfCnpj":"37812511871","name":"gustavo lopes","validatePayerInformation":true},"receiverInformation":{"taxId":"47175222000109","name":"too easy trading","tradeName":"too easy trading"}},"payerRequestInformation":"TESTE SOLICITAÇÃO AO PAYER"}]} DEBUG status: 207 DEBUG raw: {"data":{"items":[{"itemId":"5681b321-59bc-46f9-b3cd-5f09650c6e","data":{"textContent":"00020101021226990014br.gov.bcb.pix2577pix-h.bancogenial.com/qrs1/v2/017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV352040000530398654041.005802BR5916too easy trading6009SAO PAULO62070503***63046D9D","reference":"6ebff1a5ad","qrcodeURL":"https://pix-h.bancogenial.com/qrs1/v2/017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV3"},"error":null}]}} { data: {

items: [
  {
    itemId: '5681b321-59bc-46f9-b3cd-5f09650c6e1b',
    data: {
      textContent: '00020101021226990014br.gov.bcb.pix2577pix-h.bancogenial.com/qrs1/v2/017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV352040000530398654041.005802BR5916too easy trading6009SAO PAULO62070503***63046D9D',
      reference: '6ebff1a5ad244bc8af8da6c9edc3ee8a',
      qrcodeURL: 'https://pix-h.bancogenial.com/qrs1/v2/017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV3'
    },
    error: null
  }
]

} }

decode

DEBUG callApi: GET https://gerador-arquitetura-baas.homolog.api.genial.systems/v1/pix/qrcode-decode?qrcode=00020101021226990014br.gov.bcb.pix2577pix-h.bancogenial.com%2Fqrs1%2Fv2%2F017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV352040000530398654041.005802BR5916too%20easy%20trading6009SAO%20PAULO62070503***63046D9D DEBUG status: 200 DEBUG raw: {"data":{"qrcodeType":"DYNAMIC","staticQrcodeData":null,"dynamicQrcodeData":{"payloadId":"QRS2-ad0fe11d-fe66-4fc2-a0d1-e82ef6954d","payloadUrl":"pix-h.bancogenial.com/qrs1/v2/017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV3","payload":{"revisao":0,"infoAdicionais":null,"calendario":{"dataDeVencimento":null,"validadeAposVencimento":null,"criacao":"2025-11-04T19:17:27.000Z","apresentacao":"2025-11-04T19:18:41.006Z","expiracao":"36000"},"devedor":{"cpf":"*.125.118-","nome":"gustavo lopes"},"valor":{"original":"1.00","juros":0.0,"multa":0.0,"desconto":0.0,"final":0.0,"permiteAlteracao":false,"abatimento":null,"modalidadeAlteracao":0,"retirada":null},"txId":"6ebff1a5ad","chave":"c4b4824d-46b9-476f-9496-32bb5cde63","solicitacaoPagador":"TESTE SOLICITAÇÃO AO PAYER","status":"ATIVA"},"pointOfInitiationMethod":12,"country":"BR","currency":"986","value":1.00,"merchantName":"too easy trading","merchantCity":"SAO PAULO","postalCode":null,"reference":"***"},"brCodeArrangements":[{"emvId":26,"gui":"br.gov.bcb.pix"}],"recurrenceData":null},"error":null} { data: {

qrcodeType: 'DYNAMIC',
staticQrcodeData: null,
dynamicQrcodeData: {
  payloadId: 'QRS2-ad0fe11d-fe66-4fc2-a0d1-e82ef6954d98',
  payloadUrl: 'pix-h.bancogenial.com/qrs1/v2/017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV3',
  payload: {
    revisao: 0,
    infoAdicionais: null,
    calendario: {
      dataDeVencimento: null,
      validadeAposVencimento: null,
      criacao: '2025-11-04T19:17:27.000Z',
      apresentacao: '2025-11-04T19:18:41.006Z',
      expiracao: '36000'
    },
    devedor: { cpf: '***.125.118-**', nome: 'gustavo lopes' },
    valor: {
      original: '1.00',
      juros: 0,
      multa: 0,
      desconto: 0,
      final: 0,
      permiteAlteracao: false,
      abatimento: null,
      modalidadeAlteracao: 0,
      retirada: null
    },
    txId: '6ebff1a5ad244bc8af8da6c9edc3ee8a',
    chave: 'c4b4824d-46b9-476f-9496-32bb5cde6324',
    solicitacaoPagador: 'TESTE SOLICITAÇÃO AO PAYER',
    status: 'ATIVA'
  },
  pointOfInitiationMethod: 12,
  country: 'BR',
  currency: '986',
  value: 1,
  merchantName: 'too easy trading',
  merchantCity: 'SAO PAULO',
  postalCode: null,
  reference: '***'
},
brCodeArrangements: [ { emvId: 26, gui: 'br.gov.bcb.pix' } ],
recurrenceData: null

}, error: null }

Pay QRcode

DEBUG callApi: POST https://gerador-arquitetura-baas.homolog.api.genial.systems/v1/pix/copy-paste DEBUG body: {"qrCodeCopyPaste":"00020101021226990014br.gov.bcb.pix2577pix-h.bancogenial.com/qrs1/v2/017HLFqfc1cAST8ORNZNJbghAX79XQExJZe1lzLXqskILV352040000530398654041.005802BR5916too easy trading6009SAO PAULO62070503***63046D9D","value":1,"debit":{"name":"gustavo lopes","agency":1,"account":"980134153","accountType":"CACC"}} DEBUG status: 201 DEBUG raw: {"data":{"receiver":{"receiverInstitutionISPB":45246410,"receiverTaxId":"47175222000109","addressingKey":"c4b4824d-46b9-476f-9496-32bb5cde63","endToEndIdQuery":"E45246410202511041919QbJR79O94rt","account":{"branch":"1","accountNumber":"980134129","accountType":"CACC"}},"value":1.0,"additionalInformation":null,"customerInitiationTimestampUTC":"2025-11-04T19:19:27.518766","demandsImmediateReturn":true,"historicComplement":null,"informationAccountHolder":null,"originSystem":"NOVOBAAS","instructionPriority":"HIGH","settlementId":"333036512783139160591765060186960379004","payer":{"account":{"branch":"1","accountNumber":"980134153","accountType":"CACC"},"checkCustomerAccountBalance":true,"name":"gustavo lopes","taxId":"47175222000109"},"instantPaymentId":"019a504f-5218-7b6e-892e-9688bc78d6","eventStatus":{"code":"39","description":"Waiting credit validation"},"endToEndId":"E45246410202511041919QbJR79O94rt","customerDebitMadeByMip":true,"instructionType":"PAGPRI","initiationForm":"QRDN","transactionPurpose":"IPAY"},"error":null} { data: {

receiver: {
  receiverInstitutionISPB: 45246410,
  receiverTaxId: '47175222000109',
  addressingKey: 'c4b4824d-46b9-476f-9496-32bb5cde6324',
  endToEndIdQuery: 'E45246410202511041919QbJR79O94rt',
  account: { branch: '1', accountNumber: '980134129', accountType: 'CACC' }
},
value: 1,
additionalInformation: null,
customerInitiationTimestampUTC: '2025-11-04T19:19:27.518766',
demandsImmediateReturn: true,
historicComplement: null,
informationAccountHolder: null,
originSystem: 'NOVOBAAS',
instructionPriority: 'HIGH',
settlementId: '333036512783139160591765060186960379004',
payer: {
  account: { branch: '1', accountNumber: '980134153', accountType: 'CACC' },
  checkCustomerAccountBalance: true,
  name: 'gustavo lopes',
  taxId: '47175222000109'
},
instantPaymentId: '019a504f-5218-7b6e-892e-9688bc78d619',
eventStatus: { code: '39', description: 'Waiting credit validation' },
endToEndId: 'E45246410202511041919QbJR79O94rt',
customerDebitMadeByMip: true,
instructionType: 'PAGPRI',
initiationForm: 'QRDN',
transactionPurpose: 'IPAY'

}, error: null }

Cashout hook

{"CustomerDebitMadeByMip":true,"InstantPaymentId":"019a501d-602b-2ecd-fb89-b491050764","EndToEndId":"E45246410202511041824BokIzHxYyGG","TimestampUTC":"2025-11-04T18:24:53.802","SettlementId":"63606194888156183904024321187755533674","Value":10.00,"Receiver":{"DebitPsp":{"Ispb":"45246410","Name":"BANCO GENIAL"},"TaxId":"47175222000109","AddressKey":"c4b4824d-46b9-476f-9496-32bb5cde63","DebitAccount":{"AccountNumber":"980134129","AccountType":"CACC","Branch":"1"}},"Payer":{"DebitPsp":{"Ispb":"45246410","Name":"BANCO GENIAL"},"TaxId":"47175222000109","Name":"gustavo lopes","DebitAccount":{"AccountNumber":"980134153","AccountType":"CACC","Branch":"1"}},"SpiTimestampUTC":"2025-11-04T18:24:54.351","SpiSettlementDate":"2025-11-04","CustomerInitiationTimestampUTC":"2025-11-04T18:24:53.939","MirrorWasActive":true,"OriginalSystem":"NOVOBAAS","RemittanceInformation":null,"MipTransactionType":"INTRA_PSP","DebitEventType":{"Code":1,"Description":"Payment"},"DebitEventStatus":{"Code":"3","Description":"Success"},"DebitRejectionReason":null,"InstructionType":"PAGPRI","InitiationForm":"QRES","TransactionPurpose":"IPAY","InstructionPriority":"HIGH","IsRigthsAndObligationSettlement":false}

cashin hook

{"instantPaymentId":"019a4e91-848a-d9b2-93f8-f80c63467d","endToEndId":"E45246410202511041112GF94KRYQxLI","timestampUTC":"2025-11-04T11:12:30.851","settlementId":"40889575210996621893720030696582324710","receiverReconciliationIdentifier":"612a644318","value":1.00,"receiver":{"psp":{"ispb":"45246410","name":"BANCO GENIAL"},"taxId":"47175222000109","addressKey":"c4b4824d-46b9-476f-9496-32bb5cde63","account":{"accountNumber":"980134129","accountType":"CACC","branch":"1"}},"payer":{"psp":{"ispb":"45246410","name":"BANCO GENIAL"},"taxId":"47175222000109","name":"gustavo lopes","account":{"accountNumber":"980134153","accountType":"CACC","branch":"1"}},"spiTimestampUTC":"2025-11-04T11:12:31.138","customerInitiationTimestampUTC":"2025-11-04T11:12:30.603","remittanceInformation":"","mipTransactionType":"INTRA_PSP","eventType":{"code":2,"description":"Receipt"},"eventStatus":{"code":3,"description":"Success"},"instructionType":"PAGPRI","initiationForm":"QRES","transactionPurpose":"IPAY","instructionPriority":"HIGH","isRigthsAndObligationSettlement":false,"return":null}

pay key

pay init

DEBUG callApi: POST https://gerador-arquitetura-baas.homolog.api.genial.systems/v1/pix/send/initialization DEBUG body: {"debit":{"name":"too easy trading","agency":1,"account":"980134129","accountType":"CACC"},"credit":{"key":"d78793e5-4b08-4bce-91f6-ec879ea559"},"value":"10","idempotencyId":"11dfcb3f-da19-4918-88c2-d03198bf8c"} DEBUG status: 201 DEBUG raw: {"data":{"key":"d78793e5-4b08-4bce-91f6-ec879ea559","keyType":"EVP","pspIdentification":"45246410","accountHolder":{"taxId":"*.125.118-","name":"gustavo lopes"},"status":"ACTIVE","creationDate":"2025-11-04T19:24:06","keyLocallyActive":"true","endToEndId":"E45246410202511041926rCHWKiNkvZP","idempotencyId":"11dfcb3f-da19-4918-88c2-d03198bf8c"},"error":null} { data: {

key: 'd78793e5-4b08-4bce-91f6-ec879ea55909',
keyType: 'EVP',
pspIdentification: '45246410',
accountHolder: { taxId: '***.125.118-**', name: 'gustavo lopes' },
status: 'ACTIVE',
creationDate: '2025-11-04T19:24:06',
keyLocallyActive: 'true',
endToEndId: 'E45246410202511041926rCHWKiNkvZP',
idempotencyId: '11dfcb3f-da19-4918-88c2-d03198bf8c9b'

}, error: null } idempotencyId: 11dfcb3f-da19-4918-88c2-d03198bf8c

pay confirmed

DEBUG callApi: POST https://gerador-arquitetura-baas.homolog.api.genial.systems/v1/pix/send/confirmed DEBUG body: {"idempotencyId":"11dfcb3f-da19-4918-88c2-d03198bf8c","ignorePaymentDuplication":false} DEBUG status: 201 DEBUG raw: {"data":{"receiver":{"receiverInstitutionISPB":45246410,"receiverTaxId":"*.125.118-","addressingKey":"d78793e5-4b08-4bce-91f6-ec879ea559","endToEndIdQuery":"E45246410202511041926rCHWKiNkvZP"},"value":10.0,"additionalInformation":null,"customerInitiationTimestampUTC":"2025-11-04T19:26:58.6294321","demandsImmediateReturn":true,"historicComplement":null,"informationAccountHolder":"gustavo lopes","instructionPriority":"HIGH","settlementId":"168977728252806228629684197639728721589","payer":{"checkCustomerAccountBalance":true,"name":"TOO EASY TRADING COMMODITIES","taxId":"47.175.222/0001-09"},"instantPaymentId":"019a5056-35b9-c0f8-0d49-61733bd4dc","eventStatus":{"code":"39","description":"Waiting credit validation"},"endToEndId":"E45246410202511041926rCHWKiNkvZP","customerDebitMadeByMip":true,"instructionType":"PAGPRI","initiationForm":"DICT","transactionPurpose":"IPAY"},"error":null} Payment confirmed for idempotencyId: 11dfcb3f-da19-4918-88c2-d03198bf8c { data: {

receiver: {
  receiverInstitutionISPB: 45246410,
  receiverTaxId: '***.125.118-**',
  addressingKey: 'd78793e5-4b08-4bce-91f6-ec879ea55909',
  endToEndIdQuery: 'E45246410202511041926rCHWKiNkvZP'
},
value: 10,
additionalInformation: null,
customerInitiationTimestampUTC: '2025-11-04T19:26:58.6294321',
demandsImmediateReturn: true,
historicComplement: null,
informationAccountHolder: 'gustavo lopes',
instructionPriority: 'HIGH',
settlementId: '168977728252806228629684197639728721589',
payer: {
  checkCustomerAccountBalance: true,
  name: 'TOO EASY TRADING COMMODITIES',
  taxId: '47.175.222/0001-09'
},
instantPaymentId: '019a5056-35b9-c0f8-0d49-61733bd4dc0a',
eventStatus: { code: '39', description: 'Waiting credit validation' },
endToEndId: 'E45246410202511041926rCHWKiNkvZP',
customerDebitMadeByMip: true,
instructionType: 'PAGPRI',
initiationForm: 'DICT',
transactionPurpose: 'IPAY'

}, error: null }

status

in

[

{
    "instantPaymentId": "019a5065-d044-6b87-0c5d-63fc3e50254e",
    "endToEndId": "E452464102025110419443reMspbFgf5",
    "timestampUTC": "2025-11-04T19:44:01.080",
    "settlementId": "150389158127792193735997885956086341046",
    "receiverReconciliationIdentifier": "",
    "value": 50.00,
    "receiver": {
        "psp": {
            "ispb": "45246410",
            "name": "BANCO GENIAL"
        },
        "taxId": "47175222000109",
        "addressKey": "19f9e812-4187-45cc-991d-6430ef94274b",
        "account": {
            "accountNumber": "980134153",
            "accountType": "CACC",
            "branch": "1"
        }
    },
    "payer": {
        "psp": {
            "ispb": "45246410",
            "name": "BANCO GENIAL"
        },
        "taxId": "47175222000109",
        "name": "TOO EASY TRADING COMMODITIES",
        "account": {
            "accountNumber": "980134129",
            "accountType": "CACC",
            "branch": "1"
        }
    },
    "spiTimestampUTC": "2025-11-04T22:44:01.472Z",
    "customerInitiationTimestampUTC": "2025-11-04T22:44:00.848Z",
    "remittanceInformation": "",
    "mipTransactionType": "INTRA_PSP",
    "eventType": {
        "code": 2,
        "description": "Receipt"
    },
    "eventStatus": {
        "code": 3,
        "description": "Success"
    },
    "instructionType": "PAGPRI",
    "initiationForm": "DICT",
    "transactionPurpose": "IPAY",
    "instructionPriority": "HIGH",
    "isRigthsAndObligationSettlement": false,
    "return": null,
    "id": "690a57817f1351992484c384",
    "createDate": "2025-11-04T19:44:01Z",
    "updateDate": "2025-11-04T19:44:01.524Z"
}

]

status out

[

{
    "pixSendRequest": {
        "debit": {
            "name": "TOO EASY TRADING COMMODITIES",
            "agency": 1,
            "account": "980134129",
            "accountType": "CACC",
            "document": null
        },
        "credit": {
            "name": "too easy",
            "agency": 1,
            "account": "980134153",
            "accountType": "CACC",
            "document": "47175222000109",
            "ispb": "45246410",
            "key": "19f9e812-4187-45cc-991d-6430ef94274b",
            "endToEndId": "E452464102025110419443reMspbFgf5"
        },
        "idempotencyId": "dd1f044d-be5c-4e2b-af50-fea122b95dfd",
        "originalSystemTransactionId": null,
        "value": 50.00,
        "additionalInformation": null,
        "historicComplement": null,
        "observation": null,
        "ignorePaymentDuplication": false,
        "transactionApproved": false,
        "initiatingInstitution": null,
        "reconciliationIdentifier": null
    },
    "statusResponse": {
        "receiver": {
            "receiverInstitutionISPB": 45246410,
            "receiverTaxId": "47175222000109",
            "addressingKey": "19f9e812-4187-45cc-991d-6430ef94274b",
            "endToEndIdQuery": "E452464102025110419443reMspbFgf5",
            "account": {
                "branch": "1",
                "accountNumber": "980134153",
                "accountType": "CACC"
            }
        },
        "value": 50.0,
        "additionalInformation": null,
        "customerInitiationTimestampUTC": "2025-11-04T22:44:00.848Z",
        "demandsImmediateReturn": true,
        "historicComplement": null,
        "informationAccountHolder": "too easy",
        "originSystem": "NOVOBAAS",
        "instructionPriority": "HIGH",
        "settlementId": "21528849730019066247541067469206929660",
        "payer": {
            "account": {
                "branch": "1",
                "accountNumber": "980134129",
                "accountType": "CACC"
            },
            "checkCustomerAccountBalance": true,
            "name": "TOO EASY TRADING COMMODITIES",
            "taxId": "47175222000109"
        },
        "instantPaymentId": "019a5065-ce8e-6737-bf34-3d0ce3df1887",
        "eventStatus": {
            "code": "39",
            "description": "Waiting credit validation"
        },
        "endToEndId": "E452464102025110419443reMspbFgf5",
        "customerDebitMadeByMip": true,
        "instructionType": "PAGPRI",
        "initiationForm": "DICT",
        "transactionPurpose": "IPAY"
    },
    "header": {
        "gUsername": "TOO-EASY-TRADING",
        "gCnpj": "47175222000109",
        "gAgency": 1,
        "gAccount": 980134129
    },
    "instantPayments": {
        "eventId": "019a5065-ce8e-6737-bf34-3d0ce3df1887",
        "endToEndId": "E452464102025110419443reMspbFgf5",
        "status": {
            "code": 3,
            "description": "Success"
        },
        "mipTransactionType": "INTRA_PSP",
        "originalSystemTransactionId": null,
        "eventType": {
            "code": 1,
            "description": "Payment"
        },
        "rejection": null
    },
    "id": "690a57807d5e2a790b15fb70",
    "createDate": "2025-11-04T19:44:00Z",
    "updateDate": "2025-11-04T19:44:02.342Z"
}

]

refund

DEBUG callApi: POST https://gerador-arquitetura-baas.homolog.api.genial.systems/v1/pix/return DEBUG body: {"value":"0.5","returnReasonCode":"MD06","eventId":"019a5065-d044-6b87-0c5d-63fc3e5025"} DEBUG status: 201 DEBUG raw: {"data":{"returnId":"019a506c-6ba6-bea5-db7b-0d187e6fa3","creationDateTime":"2025-11-04T19:51:14.6848121","originalInstantPaymentId":"019a5065-d044-6b87-0c5d-63fc3e5025","returnedAmount":0.5,"endToEndId":"D45246410202511041951iP1ltQfU4Ee","customerDebitMadeByMip":true,"instantPayment":null,"id":"690a5932d3","createDate":"2025-11-04T19:51:14Z","updateDate":"2025-11-04T19:51:14.572Z"},"error":null} { data: {

returnId: '019a506c-6ba6-bea5-db7b-0d187e6fa32a',
creationDateTime: '2025-11-04T19:51:14.6848121',
originalInstantPaymentId: '019a5065-d044-6b87-0c5d-63fc3e50254e',
returnedAmount: 0.5,
endToEndId: 'D45246410202511041951iP1ltQfU4Ee',
customerDebitMadeByMip: true,
instantPayment: null,
id: '690a5932d3490aaedce9bd16',
createDate: '2025-11-04T19:51:14Z',
updateDate: '2025-11-04T19:51:14.572Z'

}, error: null }

status refund

[

{
    "returnId": "019a506c-6ba6-bea5-db7b-0d187e6fa32a",
    "creationDateTime": "2025-11-04T22:51:14.684Z",
    "originalInstantPaymentId": "019a5065-d044-6b87-0c5d-63fc3e50254e",
    "returnedAmount": 0.5,
    "endToEndId": "D45246410202511041951iP1ltQfU4Ee",
    "customerDebitMadeByMip": true,
    "instantPayment": {
        "eventId": "019a506c-6ba6-bea5-db7b-0d187e6fa32a",
        "endToEndId": "D45246410202511041951iP1ltQfU4Ee",
        "status": {
            "code": 3,
            "description": "Success"
        },
        "mipTransactionType": "INTRA_PSP",
        "originalSystemTransactionId": null,
        "eventType": {
            "code": 12,
            "description": "Return sender"
        },
        "rejection": null
    },
    "id": "690a5932d3490aaedce9bd16",
    "createDate": "2025-11-04T19:51:14Z",
    "updateDate": "2025-11-04T19:51:16.76Z"
}

]