// RequestCredentialByID sends a credential request to the issuer based on a previously received offer
RequestCredentialByID sends a credential request to the issuer based on a previously received offer
// RequestCredentialByID sends a credential request to the issuer based on a previously received offer
func (c *Client) RequestCredentialByID(credentialExchangeID string) (CredentialExchangeRecord, error) {
	var credentialExchange CredentialExchangeRecord
	err := c.post(fmt.Sprintf("/issue-credential/records/%s/send-request", credentialExchangeID), nil, nil, &credentialExchange)
	if err != nil {
		return CredentialExchangeRecord{}, err
	}
	return credentialExchange, nil
}
func ( c * Client ) RequestCredentialByID ( credentialExchangeID string ) ( CredentialExchangeRecord , error ) { var credentialExchange CredentialExchangeRecord err := c . post ( fmt . Sprintf ( " " , credentialExchangeID ) , nil , nil , & credentialExchange ) if err != nil { return CredentialExchangeRecord { } , err } return credentialExchange , nil }
RequestCredentialByID sends a credential request to the issuer based on a previously received offer
RequestCredentialByID sends a credential request to the issuer based on a previously received offer