post https://api.ingresse.com/shop
Pays a transaction already booked and not expired.
Address is mandatory
In order to process payments, the user must to have a registered address. You can do that by updating the user account through user update endpoint.
Payment Body Example
{
"userId" : 123456,
"transactionId" : "1234534-3hg2f45hg34jh5f34hgf5jh3f5hj23",
"creditCardToken": {
"token" : "6aa0dd09-019a-41ee-9901-eef1e89e7ae7"
},
"paymentMethod" : "creditCardToken",
"document" : "11122233344",
"installments" : 1
}
{
"userId" : 12345,
"transactionId" : "123456-23gfd41hg23d4g2323hf23q4",
"paymentMethod" : "BoletoBancario",
"document" : "11122233344"
}