PageSourceSearch

https://paypayue.github.io/assets/js/8cbc3c77.1d69ecff.js

js paypayue.github.io collected 2026-10-03 09:45:47 UTC 27,262 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5933],{9714(e,t,n){n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>h,frontMatter:()=>r,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"soap/payments/do-web-payment","title":"Gerar pagamento com token (via redirect)","description":"","source":"@site/docs/soap/payments/do-web-payment.mdx","sourceDirName":"soap/payments","slug":"/soap/payments/do-web-payment","permalink":"/docs/soap/payments/do-web-payment","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"sidebar_position":3,"title":"Gerar pagamento com token (via redirect)","description":"","hide_table_of_contents":true},"sidebar":"soap","previous":{"title":"Gerar refer\xeancia ou link de pagamento","permalink":"/docs/soap/payments/create-payment-reference"},"next":{"title":"Verificar o estado da transa\xe7\xe3o/token","permalink":"/docs/soap/payments/check-web-payment"}}');var d=n(4848),l=n(8453),i=n(1312);const r={sidebar_position:3,title:"Gerar pagamento com token (via redirect)",description:"",hide_table_of_contents:!0},a="Pedido de pagamento com token (via redirect)",o={},c=[{value:"doWebPayment",id:"dowebpayment",level:3},{value:"<Translate>Par\xe2metros do pedido</Translate>",id:"par\xe2metros-do-pedido",level:4},{value:"<Translate>Par\xe2metros da resposta</Translate>",id:"par\xe2metros-da-resposta",level:4}];function x(e){const t={del:"del",h1:"h1",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.header,{children:(0,d.jsx)(t.h1,{id:"pedido-de-pagamento-com-token-via-redirect",children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.title",children:"Pedido de pagamento com token (via redirect)"})})}),"\n",(0,d.jsx)("p",{children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.intro",children:"De seguida apresentamos o processo de pagamento com redirecionamento para a p\xe1gina de pagamentos PayPay."})}),"\n",(0,d.jsxs)(t.ul,{children:["\n",(0,d.jsxs)(t.li,{children:["\n",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step1",children:"O servidor do site/aplica\xe7\xe3o comunica com a PayPay com o objetivo de obter um token de pagamento para a(s) forma(s) de pagamento pretendidas;"}),"\n"]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step2",children:"A PayPay responde com o"})," ",(0,d.jsx)("code",{children:"redirectURL"}),", ",(0,d.jsx)("code",{children:"paymentId"})," ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step2b",children:"e"})," ",(0,d.jsx)("code",{children:"token"}),":","\n",(0,d.jsxs)(t.ul,{children:["\n",(0,d.jsxs)(t.li,{children:["\n",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step2a",children:"O"}),"\n",(0,d.jsx)("code",{children:"paymentId"}),"\n",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step2a2",children:"e"}),"\n",(0,d.jsx)("code",{children:"token"}),"\n",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step2a3",children:"da resposta dever\xe3o ser guardados no servidor do site/aplica\xe7\xe3o;"}),"\n"]}),"\n",(0,d.jsxs)(t.li,{children:["\n",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step2b2",children:"De seguida o site/aplica\xe7\xe3o dever\xe1 redirecionar o cliente para o"}),"\n",(0,d.jsx)("code",{children:"redirectURL"}),"\n",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step2b3",children:"da resposta;"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step3",children:"Em caso de sucesso, o cliente ser\xe1 redirecionado para o"})," ",(0,d.jsx)("code",{children:"returnUrlSuccess"})," ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step3b",children:"ou em caso de cancelamento para o"})," ",(0,d.jsx)("code",{children:"returnUrlCancel"}),";"]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step4",children:"O servidor do site/aplica\xe7\xe3o dever\xe1 verificar se o"})," ",(0,d.jsx)("code",{children:"?token=XYZ"})," ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step4b",children:"do url de retorno \xe9 v\xe1lido e verificar o estado do token para confirmar se o pagamento foi confirmado."})," (",(0,d.jsx)("a",{href:"../payments/check-web-payment",children:"Ver checkWebPayment"}),");"]}),"\n",(0,d.jsxs)(t.li,{children:[(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.step5",children:"Se, por qualquer raz\xe3o, o o cliente n\xe3o regressar ao site/aplica\xe7\xe3o \xe9 recomendada a consulta ao estado do pagamento ap\xf3s um intervalo de refer\xeancia de 30 minutos*."}
1)," (",(0,d.jsx)("a",{href:"../payments/query-payments#checkentitypayments",children:"Ver checkEntityPayments"}),")"]}),"\n"]}),"\n",(0,d.jsxs)(t.p,{children:["* ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.validityNote",children:"A validade do pagamento \xe9 configur\xe1vel por pedido no par\xe2metro"})," ",(0,d.jsx)("code",{children:"validEndDate"})," ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.validityNote2",children:"ou nas configura\xe7\xf5es da integra\xe7\xe3o."})]}),"\n",(0,d.jsx)(t.h3,{id:"dowebpayment",children:"doWebPayment"}),"\n",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.description",children:"Gera um token de pagamento via WEB para as formas de pagamento pretendidas."}),"\n",(0,d.jsx)(t.h4,{id:"par\xe2metros-do-pedido",children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.requestParams",children:"Par\xe2metros do pedido"})}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.table.field",children:"Campo"})}),(0,d.jsx)(t.th,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.table.type",children:"Tipo"})}),(0,d.jsx)(t.th,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.table.description",children:"Descri\xe7\xe3o"})})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"entity"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"RequestEntity"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.entity",children:"Dados de integra\xe7\xe3o da entidade"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- platformCode"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.platformCode",children:"C\xf3digo da plataforma"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- hash"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.hash",children:"Hash de autentica\xe7\xe3o"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- lang"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.lang",children:"C\xf3digo de idioma"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- date"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.date",children:"Data de acesso"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- nif"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.nif",children:"NIF da entidade"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"payment"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"RequestCreditCardPayment"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.payment",children:"Dados relativos ao pagamento e redirecionamento"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- order"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"RequestPaymentOrder"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.order",children:"Informa\xe7\xe3o do pagamento"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- amount"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"Int"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.amount",children:"Montante pretendido para a cria\xe7\xe3o do pagamento (obrigat\xf3rio)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- reference"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.reference",children:"Refer\xeancia do pagamento"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- hash"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.orderHash",children:"Hash do pagamento"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- paymentId"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.paymentId",children:"ID de pagamento"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"}
1,children:(0,d.jsx)(t.strong,{children:"-- productCode"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.productCode",children:"C\xf3digo do produto/servi\xe7o (opcional)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- productDesc"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.productDesc",children:"Descri\xe7\xe3o do produto/servi\xe7o (opcional)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- validStartDate*****"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"ISO8601"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.validStartDate",children:"Data de in\xedcio da validade da refer\xeancia."})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- validEndDate*****"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"ISO8601"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.validEndDate",children:"Data limite de pagamento da refer\xeancia."})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:(0,d.jsx)(t.strong,{children:"-- idTransaction"})})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:"String"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.idTransaction",children:"ID de pagamento"})})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- method****"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.method",children:'C\xf3digo da forma de pagamento que vai ser utilizada. Ex: "MB" ou separado por v\xedrgula "MB,CC,MW".'})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- returnUrlSuccess"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.returnUrlSuccess",children:"URL de redirecionamento caso o cliente realize o pagamento com sucesso"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- returnUrlCancel"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.returnUrlCancel",children:"URL de redirecionamento em caso de cancelamento pelo cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- returnUrlBack"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.returnUrlBack",children:"URL de redirecionamento em caso de retrocedimento pelo cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- bankAccountCode******"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.bankAccountCode",children:"C\xf3digo que identifica o IBAN para o qual o pagamento dever\xe1 ser transferido."})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- buyer"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"RequestBuyerInfo"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.buyer",children:"Informa\xe7\xe3o do cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- firstName"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.firstName",children:"Nome do cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- lastName"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.lastName",children:"Apelido do cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- customerId"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.customerId",children:"Id do cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- email"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.email",children:"Email do cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- phoneNumber"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.phoneNumber",children:"Telefone do cliente"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- billingAddress"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"RequestBillingAddress"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingAddress",children:"Endere\xe7o de fatura\xe7\xe3o"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- country"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingCountry",children:"Pa\xeds (Formato: ISO 3166-1)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- state"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingState",children:"C\xf3digo do Estado/Distrito (Formato: ISO 3166-2)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- stateName"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingStateName",children:"Nome do Estado/Distrito"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- city"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingCity",children:"Nome da cidade"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- street1"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingStreet1",children:"Morada (Linha 1)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- street2"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingStreet2",children:"Morada (Linha 2)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- postCode"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.billingPostCo
1de",children:"C\xf3digo Postal"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- shippingAddress"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"RequestShippingAddress"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingAddress",children:"Endere\xe7o de expedi\xe7\xe3o"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- country"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingCountry",children:"Pa\xeds (Formato: ISO 3166-1)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- state"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingState",children:"C\xf3digo do Estado/Distrito (Formato: ISO 3166-2)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- stateName"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingStateName",children:"Nome do Estado/Distrito"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- city"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingCity",children:"Nome da cidade"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- street1"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingStreet1",children:"Morada (Linha 1)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- street2"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingStreet2",children:"Morada (Linha 2)"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"-- postCode"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.shippingPostCode",children:"C\xf3digo Postal"})})]})]})]}),"\n",(0,d.jsxs)(t.p,{children:["* ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.note1",children:"Dever\xe1 ser enviado quando se pretende criar um pagamento."})]}),"\n",(0,d.jsxs)(t.p,{children:["** ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.note2",children:"Estes dados dever\xe3o ser enviados para efetuar um pagamento por cart\xe3o de cr\xe9dito de pagamento criados atrav\xe9s de outros webservice, n\xe3o descritos neste documento."})]}),"\n",(0,d.jsxs)(t.p,{children:["*** ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.note3",children:"Neste caso \xe9 obrigat\xf3rio especificar o montante (amount) do pagamento. Caso o montante n\xe3o coincida com o montante do pagamento com paymentId ser\xe1 criado um novo pagamento."})]}),"\n",(0,d.jsxs)(t.p,{children:["**** ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.note4",children:"Caso n\xe3o seja especificado por defeito \xe9 escolhido o c\xf3digo CC - Cart\xe3o de Cr\xe9dito."})]}),"\n",(0,d.jsxs)(t.p,{children:["***** ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.note5",children:"As datas de validade devem estar no formato ISO8601 (ex: 2014-09-27T18:30:49-03:00)."})]}),"\n",(0,d.jsxs)(t.p,{children:["****** ",(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.note6",children:"Os c\xf3digos de IBAN podem ser consultados na \xe1rea de dados banc\xe1rios do backoffice."})]}),"\n",(0,d.jsx)(t.h4,{id:"par\xe2metros-da-resposta",children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.responseParams",children:"Par\xe2metros da resposta"})}),"\n",(0,d.jsxs)(t.table,{children:[(0,d.jsx)(t.thead,{children:(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.th,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.table.field",children:"Campo"})}),(0,d.jsx)(t.th,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.table.type",children:"Tipo"})}),(0,d.jsx)(t.th,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.table.description",children:"Descri\xe7\xe3o"})})]})}),(0,d.jsxs)(t.tbody,{children:[(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"requestState"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"ResponseIntegrationState"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.requestState",children:"Cont\xe9m a 
1informa\xe7\xe3o da integra\xe7\xe3o"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- state"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"Int"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.state",children:"Resultado da pesquisa do pagamento"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- code"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.code",children:"C\xf3digo da mensagem"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"- message"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.message",children:"Mensagem de erro/sucesso"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"redirectUrl"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.redirectUrl",children:"Endere\xe7o de redirecionamento para a p\xe1gina de pagamento PayPay"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"paymentId"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"Int"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.responsePaymentId",children:"Lista de detalhes de pagamentos"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.strong,{children:"token"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:"String"}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.token",children:"Lista de detalhes de pagamentos"})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:(0,d.jsx)(t.strong,{children:"url"})})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:"String"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.url",children:"Endere\xe7o de redirecionamento para a p\xe1gina de pagamentos da PayPay"})})})]}),(0,d.jsxs)(t.tr,{children:[(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:(0,d.jsx)(t.strong,{children:"idTransaction"})})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:"Int"})}),(0,d.jsx)(t.td,{style:{textAlign:"left"},children:(0,d.jsx)(t.del,{children:(0,d.jsx)(i.A,{id:"soap.payments.doWebPayment.responseIdTransaction",children:"Lista de detalhes de pagamentos"})})})]})]})]})]})}function h(e={}){const{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(x,{...e})}):x(e)}},8453(e,t,n){n.d(t,{R:()=>i,x:()=>r});var s=n(6540);const d={},l=s.createContext(d);function i(e){const t=s.useContext(l);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),s.createElement(l.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.