curl --location --request POST 'https://api.paylogos.com.br/v1/transactions' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer": "string",
"amount": 300,
"currency": "BRL",
"description": "Venda de ingressos para o show do dia 30",
"reference_id": "string",
"payment_type": "boleto",
"logo": "https://logoaqui.com.br/imagem/sellers/",
"payment_method": {
"expiration_date": "2019-05-29",
"payment_limit_date": "2019-06-01",
"buyer": {
"first_name": "Nome",
"last_name": "Sobrenome",
"email": "email_do_comprador@email.com",
"phone_number": " 123456789",
"taxpayer_id": "99999999999",
"birthdate": "0001-01-01",
"address": {
"line1": "Endereco",
"line2": "999",
"line3": "APT 999",
"neighborhood": "Downtown",
"city": "Cidade",
"state": "UF",
"postal_code": "99999999",
"country_code": "BR"
}
},
"body_instructions": [
"string"
],
"billing_instructions": {
"late_fee": {
"mode": "FIXED",
"value": "string",
"start_at": "2018-11-20"
},
"interest": {
"mode": "PERCENTAGE",
"frequency": "10",
"value": "string",
"start_at": "2018-11-20"
},
"discount": {
"mode": "FIXED",
"value": "string",
"limit_at": "2018-11-20"
}
}
}
}'
{
"id": "string",
"resource": "string",
"status": "string",
"amount": "string",
"original_amount": "string",
"currency": "string",
"description": "string",
"payment_type": "string",
"transaction_number": "string",
"gateway_authorizer": "string",
"app_transaction_uid": "string",
"refunds": "string",
"rewards": "string",
"discounts": "string",
"pre_authorization": "string",
"sales_receipt": "string",
"on_behalf_of": "string",
"customer": "string",
"statement_descriptor": "string",
"payment_method": {
"id": "string",
"zoop_boleto_id": "string",
"resource": "string",
"description": "string",
"reference_number": "string",
"document_number": "string",
"expiration_date": "2019-08-24",
"payment_limit_date": "2019-08-24",
"recipient": "string",
"bank_code": "string",
"customer": "string",
"address": "string",
"sequence": "string",
"url": "string",
"barcode": "string",
"created_at": "string",
"updated_at": "string",
"status": "string"
},
"source": "string",
"installment_plan": "string",
"refunded": true,
"voided": true,
"captured": true,
"fees": "string",
"fee_details": {},
"uri": "string",
"metadata": {},
"expected_on": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"payment_authorization": "string",
"history": [
{
"id": "string",
"transaction": "string",
"amount": "string",
"operation_type": "string",
"status": "string",
"response_code": "string",
"response_message": "string",
"authorization_code": "string",
"authorizer_id": "string",
"authorization_nsu": "string",
"gatewayResponseTime": "string",
"authorizer": "string",
"created_at": "2019-08-24T14:15:22Z"
}
]
}