...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
//send POST to https://test.oppwa.com/v1/payments
amount=10.00
currency=BRL
paymentBrand=BOLETO
paymentType=PA
//API credentials
authentication.userId=8a8294174ae82ada014aedf7fb151d5f
authentication.password=AKdx7nmH
authentication.entityId=8a8294174ae82ada014aedfd75aa1d79
//API credentials end
//fixed values, you can send these values as dummy data to increase conversion
customer.givenName=Pagador
customer.surname=Pagador
customer.identificationDocType=TAXSTATEMENT
billing.street1=Av Brigadeiro Faria Lima 3729
billing.city=Sao Paulo
billing.state=SP
billing.postcode=04538905
billing.country=BR
//end of fixed values
customer.ip=1.1.1.1
customer.email=test@test.com
customer.identificationDocId=70383053102 //CPF number of end customer
customParameters[CUSTOM_due_date]=01012016 //Due date of the Boleto. We recommend 3 days of the issuance date
merchantTransactionId=1234
shopperResultUrl=http://google.com //Although there is no re-direct back from the Boleto to your shop, our API requires this parameter to be present
testMode=EXTERNAL // only required on staging. Please remove on production environment |
...