curl --location 'https://cobrancas-h.api.efipay.com.br/v1/charge/one-step' \
--header 'Authorization: token' \
--header 'Content-Type: application/json' \
--data-raw '{
"items": [
{
"name": "Meu Produto",
"value": 1000,
"amount": 1
}
],
"payment": {
"credit_card": {
"customer": {
"name": "Gorbadoc Oldbuck",
"cpf": "94271564656",
"email": "[email protected]",
"birth": "1990-08-29",
"phone_number": "5144916523"
},
"installments": 1,
"payment_token": "9621af918d06297342bba69fa32e65dbc43542c0",
"billing_address": {
"street": "Avenida Juscelino Kubitschek",
"number": "909",
"neighborhood": "Bauxita",
"zipcode": "35400000",
"city": "Ouro Preto",
"complement": "",
"state": "MG"
}
}
}
}'