code: func (p *Pushover) GetReceiptDetails(receipt string) (*ReceiptDetails, error) {
  	url := fmt.Sprintf("%s/receipts/%s.json?token=%s", APIEndpoint, receipt, p.token)
  
  	if receipt == "" {
  		return nil, ErrEmptyReceipt
  	}
  
  	// Send request
  	resp, err := http.Get(url)
  	if err != nil {
  		return nil, err
  	}
  
  	// Decode the JSON response
  	var details *ReceiptDetails
  	if err = json.NewDecoder(resp.Body).Decode(&details); err != nil {
  		return nil, err
  	}
  
  	return details, nil
  }
docs: // GetReceiptDetails return detailed informations about a receipt. This is used
  // used to check the acknowledged status of an Emergency notification.