curl --location --request POST 'https://horizon-api-sb.app.rpe.tech/api/v1/acheron/vtex/payments?meioPagamento=SOFTWARE_EXPRESS' \
--header 'X-VTEX-API-AppKey;' \
--header 'X-VTEX-API-AppToken;' \
--header 'accept: */*' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"paymentId": "358678",
"paymentMethod": "SOFTWARE_EXPRESS",
"merchantName": "TesteAut",
"card": {
"number": "6505000000002001",
"holder": "PORTADOR MOCK",
"expiration": {
"month": "11",
"year": "28"
},
"csc": "111",
"document": "01234567890"
},
"value": 23.33,
"currency": "986",
"installments": 2,
"adminInstallments": "N",
"reference": "Referência do produto.",
"transactionId": "123",
"installmentsInterestRate": "0",
"installmentsValue": "0",
"deviceFingerprint": "Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0",
"miniCart": {
"buyer": {
"id": "1",
"firstName": "Francisco",
"lastName": "Silva",
"document": "08974930284",
"documentType": "CPF",
"email": "[email protected]",
"phone": "98996788293"
},
"shippingAddress": {
"country": "Brasil",
"street": "Rua da Amizade",
"number": "420",
"complement": "Casa",
"neighborhood": "Centro",
"postalCode": "58000000",
"city": "João Pessoa",
"state": "PB"
},
"billingAddress": {
"country": "Brasil",
"street": "Rua da Amizade",
"number": "420",
"complement": "Casa",
"neighborhood": "Centro",
"postalCode": "58000000",
"city": "João Pessoa",
"state": "PB"
},
"items": [
{
"id": "1",
"name": "Produto 01",
"price": 25,
"quantity": 2,
"discount": 0
},
{
"id": "1",
"name": "Produto 01",
"price": 25,
"quantity": 2,
"discount": 0
}
],
"shippingValue": 10,
"taxValue": 0
},
"url": "http:www.example.com/index.html",
"callbackUrl": "http://example.com/index.html",
"returnUrl": "http://localhost/#/location1"
}'