Skip to main content

Uber

Uber for Business Receipts: recibos e faturas de viagens e pedidos, simulação sandbox e webhooks de recibo/fatura.

Uber Logo

Authentication

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use

Using the Smart Chat

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions

This connector provides 8 actions:

ActionPurposeParameters
get_v1_business_trips_by_trip_id_receiptRetorna os detalhes do recibo de uma viagem Uber for Business. Endpoint depreciado pelo Uber — utilize getBusinessOrderReceipt para novas integrações.trip_id (string)
Accept-Language (string)
get_v1_business_trips_by_trip_id_receipt_pdf_urlRetorna a URL do PDF do recibo U4B e usuário para uma viagem. Endpoint depreciado — utilize getBusinessOrderReceipt.trip_id (string)
Accept-Language (string)
get_v1_business_trips_by_trip_id_invoice_urlsRetorna as URLs das faturas geradas para uma viagem disponíveis em países específicos. Endpoint depreciado — utilize getBusinessOrderReceipt.trip_id (string)
Accept-Language (string)
post_v1_sandbox_terminal_state_trip_runCria uma execução no sandbox que simula uma viagem em estado terminal ex.: COMPLETED_STATE_TRIP. Só funciona no ambiente sandbox.data: {
. pickup (object)
. dropoff
. rider_info (object)
. scenario (object)
. product_type (string)
. expense_info (object)
} (object) required
post_v1_sandbox_terminal_state_eats_runCria uma execução no sandbox que simula um pedido Uber Eats em estado terminal ex.: COMPLETED_STATE_DELIVERY_ORDER. Só funciona no ambiente sandbox.data: {
. eater_location (object)
. eater_info (object)
. scenario (object)
. expense_info (object)
} (object) required
get_v1_sandbox_run_by_run_idRetorna o estado e informações adicionais de uma execução criada no sandbox. Só funciona no ambiente sandbox.run_id (string)
get_v1_business_orders_by_order_id_receiptRetorna o recibo completo de um pedido Rides ou Eats, incluindo transações, taxas, cobranças e documentos fiscais.order_id (string)
x-uber-organizationuuid (string) required
customCall any endpoint of the connected service while reusing the connection auth. Pass the full URL as _url. Other reserved keys: _method, _query, _body, _headers. Remaining params flow naturally — empty → GET, non-empty → POST JSON body._url (string) required
_method (string)
_query (object)
_body
_headers (object)

Webhook Events

This connector emits 3 events back to your workflow. To receive one, create a hook whose path is <connection-name>/<event> — the connection name you configured plus the event from the table below.

EventDescription
business-trips-receipt-readyNotifica quando o recibo de uma viagem corporativa está pronto endpoint legado.
business-trips-invoice-readyNotifica quando a fatura de uma viagem corporativa está pronta em países suportados endpoint legado.
business-order-receiptNotifica quando o recibo ou fatura de um pedido corporativo Rides ou Eats é criado ou atualizado.