pub async fn get_invoice(
client: &GatewayApi,
base_url: &SafeUrl,
payload: GetInvoiceRequest,
) -> ServerResult<Option<GetInvoiceResponse>>pub async fn get_invoice(
client: &GatewayApi,
base_url: &SafeUrl,
payload: GetInvoiceRequest,
) -> ServerResult<Option<GetInvoiceResponse>>