code: func (api *API) CreateOriginCertificate(certificate OriginCACertificate) (*OriginCACertificate, error) {
  	uri := "/certificates"
  	res, err := api.makeRequestWithAuthType(context.TODO(), "POST", uri, certificate, AuthUserService)
  
  	if err != nil {
  		return nil, errors.Wrap(err, errMakeRequestError)
  	}
  
  	var originResponse *originCACertificateResponse
  
  	err = json.Unmarshal(res, &originResponse)
  
  	if err != nil {
  		return nil, errors.Wrap(err, errUnmarshalError)
  	}
  
  	if !originResponse.Success {
  		return nil, errors.New(errRequestNotSuccessful)
  	}
  
  	return &originResponse.Result, nil
  }
docs: // CreateOriginCertificate creates a Cloudflare-signed certificate.
  //
  // This function requires api.APIUserServiceKey be set to your Certificates API key.
  //
  // API reference: https://api.cloudflare.com/#cloudflare-ca-create-certificate