Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
firstline1
titleAPI Endpoint: https://test.oppwa.com/v1/payments
linenumberstrue
//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
//Dummy data, replace with your shopper`s details
customer.identificationDocType=TAXSTATEMENT
billing.street1=Av Brigadeiro Faria Lima 3729 
billing.city=Sao Paulo
billing.state=SP // State with 2 digits
billing.postcode=04538905 //postcode with 8 numeric digits, no dashes, spaces or slashes.
billing.country=BR 
customer.givenName=Gustavo
customer.surname=Santos
customer.ip=1.1.1.1
customer.email=test@test.com
customer.identificationDocId=70383053102 //CPF number of end customer
//end of shopper details
customParameters[CUSTOM_due_date]=21012018 //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

...